Class AuthenticationFilterInitializer

  extended by org.apache.hadoop.http.FilterInitializer
      extended by

public class AuthenticationFilterInitializer
extends FilterInitializer

Initializes hadoop-auth AuthenticationFilter which provides support for Kerberos HTTP SPENGO authentication.

It enables anonymous access, simple/speudo and Kerberos HTTP SPNEGO authentication for Hadoop JobTracker, NameNode, DataNodes and TaskTrackers.

Refer to the core-default.xml file, after the comment 'HTTP Authentication' for details on the configuration options. All related configuration properties have 'hadoop.http.authentication.' as prefix.

Constructor Summary
Method Summary
 void initFilter(FilterContainer container, Configuration conf)
          Initializes hadoop-auth AuthenticationFilter.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AuthenticationFilterInitializer()
Method Detail


public void initFilter(FilterContainer container,
                       Configuration conf)
Initializes hadoop-auth AuthenticationFilter.

Propagates to hadoop-auth AuthenticationFilter configuration all Hadoop configuration properties prefixed with "hadoop.http.authentication."

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

Copyright © 2013 Apache Software Foundation. All Rights Reserved.