Class TimelineAuthenticationFilterInitializer

java.lang.Object
org.apache.hadoop.http.FilterInitializer
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.

  • Constructor Details

    • TimelineAuthenticationFilterInitializer

      public TimelineAuthenticationFilterInitializer()
  • Method Details

    • setAuthFilterConfig

      protected void setAuthFilterConfig(org.apache.hadoop.conf.Configuration conf)
    • getFilterConfig

      protected Map<String,String> getFilterConfig()
    • 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.http-authentication.".

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