Java 类org.apache.hadoop.hdfs.web.AuthFilter 实例源码

项目:aliyun-oss-hadoop-fs    文件:TestDFSConfigKeys.java   
/**
 * Make sure we keep the String literal up to date with what we'd get by calling
 * class.getName.
 */
@Test
public void testStringLiteralDefaultWebFilter() {
  Assert.assertEquals("The default webhdfs auth filter should make the FQCN of AuthFilter.",
      AuthFilter.class.getName(), DFSConfigKeys.DFS_WEBHDFS_AUTHENTICATION_FILTER_DEFAULT);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:TestDFSConfigKeys.java   
/**
 * Make sure we keep the String literal up to date with what we'd get by calling
 * class.getName.
 */
@Test
public void testStringLiteralDefaultWebFilter() {
  Assert.assertEquals("The default webhdfs auth filter should make the FQCN of AuthFilter.",
      AuthFilter.class.getName(), DFSConfigKeys.DFS_WEBHDFS_AUTHENTICATION_FILTER_DEFAULT);
}