org.apache.hadoop.yarn.server.timeline.security
Class TimelineAuthenticationFilterInitializer

java.lang.Object
  extended by org.apache.hadoop.http.FilterInitializer
      extended by org.apache.hadoop.yarn.server.timeline.security.TimelineAuthenticationFilterInitializer

public class TimelineAuthenticationFilterInitializer
extends org.apache.hadoop.http.FilterInitializer

Initializes TimelineAuthenticationFilter which provides support for Kerberos HTTP SPNEGO authentication.

It enables Kerberos HTTP SPNEGO plus delegation token authentication for the timeline server.

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.


Field Summary
static String PREFIX
          The configuration prefix of timeline HTTP authentication
 
Constructor Summary
TimelineAuthenticationFilterInitializer()
           
 
Method Summary
 void initFilter(org.apache.hadoop.http.FilterContainer container, org.apache.hadoop.conf.Configuration conf)
           Initializes TimelineAuthenticationFilter

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
The configuration prefix of timeline HTTP authentication

See Also:
Constant Field Values
Constructor Detail

TimelineAuthenticationFilterInitializer

public TimelineAuthenticationFilterInitializer()
Method Detail

initFilter

public void initFilter(org.apache.hadoop.http.FilterContainer container,
                       org.apache.hadoop.conf.Configuration conf)

Initializes TimelineAuthenticationFilter

Propagates to TimelineAuthenticationFilter configuration all YARN configuration properties prefixed with "yarn.timeline-service.authentication."

Specified by:
initFilter in class org.apache.hadoop.http.FilterInitializer
Parameters:
container - The filter container
conf - Configuration for run-time parameters


Copyright © 2014 Apache Software Foundation. All Rights Reserved.