org.apache.hadoop.http.lib
Class StaticUserWebFilter

java.lang.Object
  extended by org.apache.hadoop.http.FilterInitializer
      extended by org.apache.hadoop.http.lib.StaticUserWebFilter

public class StaticUserWebFilter
extends FilterInitializer

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
static class StaticUserWebFilter.StaticUserFilter
           
 
Constructor Summary
StaticUserWebFilter()
           
 
Method Summary
 void initFilter(FilterContainer container, Configuration conf)
          Initialize a Filter to a FilterContainer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticUserWebFilter

public StaticUserWebFilter()
Method Detail

initFilter

public void initFilter(FilterContainer container,
                       Configuration conf)
Description copied from class: FilterInitializer
Initialize a Filter to a FilterContainer.

Specified by:
initFilter in class FilterInitializer
Parameters:
container - The filter container
conf - Configuration for run-time parameters


Copyright © 2009 The Apache Software Foundation