Update FilterInitializer class to be more visible and take a conf for further
development
-----------------------------------------------------------------------------------------
Key: HADOOP-6337
URL: https://issues.apache.org/jira/browse/HADOOP-6337
Project: Hadoop Common
Issue Type: New Feature
Reporter: Jakob Homan
Assignee: Jakob Homan
Fix For: 0.22.0
Currently the FilterInitializer class, used to filter access to the Hadoop web
interfaces, has its main method, initFilter, set to package private. This
means that any classes wishing to implement this type must be in the same
package. This should be public so FilterInitializers can reside in other
packages.
Also, currently all parameters to the FilterInitializer must be provided at
compile time (or via a different configuration method). It would be better if
the FilterInitalizer::initFilter received a Configuration parameter so it can
pull conf values out at run-time. Alternatively, the class could implement
Configured, but that seems heavier than is needed at this point.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.