HADOOP-16366. Fixed ProxyUserAuthenticationFilterInitializer for timeline server.

Contributed by Prabhu Joseph
This commit is contained in:
Eric Yang 2019-06-14 12:54:16 -04:00
parent 9ebbda342f
commit 3ba090f436

View File

@ -165,11 +165,11 @@ protected void addFilters(Configuration conf) {
TimelineReaderAuthenticationFilterInitializer.class.getName())) {
defaultInitializers.add(
TimelineReaderAuthenticationFilterInitializer.class.getName());
}
} else {
defaultInitializers.add(
ProxyUserAuthenticationFilterInitializer.class.getName());
}
}
defaultInitializers.add(
TimelineReaderWhitelistAuthorizationFilterInitializer.class.getName());