Package org.apache.hadoop.hbase.http.lib
Class StaticUserWebFilter
java.lang.Object
org.apache.hadoop.hbase.http.FilterInitializer
org.apache.hadoop.hbase.http.lib.StaticUserWebFilter
Provides a servlet filter that pretends to authenticate a fake user (Dr.Who) so that the web UI
is usable for a secure cluster without authentication.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescription(package private) static final String
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static String
getUsernameFromConf
(org.apache.hadoop.conf.Configuration conf) Retrieve the static username from the configuration.void
initFilter
(FilterContainer container, org.apache.hadoop.conf.Configuration conf) Initialize a Filter to a FilterContainer.
-
Field Details
-
DEPRECATED_UGI_KEY
- See Also:
-
LOG
-
-
Constructor Details
-
StaticUserWebFilter
public StaticUserWebFilter()
-
-
Method Details
-
initFilter
Description copied from class:FilterInitializer
Initialize a Filter to a FilterContainer.- Specified by:
initFilter
in classFilterInitializer
- Parameters:
container
- The filter containerconf
- Configuration for run-time parameters
-
getUsernameFromConf
Retrieve the static username from the configuration.
-