public class TimelineAuthenticationFilterInitializer
extends org.apache.hadoop.http.FilterInitializer
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.
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
The configuration prefix of timeline HTTP authentication.
|
Constructor and Description |
---|
TimelineAuthenticationFilterInitializer() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
getFilterConfig() |
void |
initFilter(org.apache.hadoop.http.FilterContainer container,
org.apache.hadoop.conf.Configuration conf)
Initializes
TimelineAuthenticationFilter . |
protected void |
setAuthFilterConfig(org.apache.hadoop.conf.Configuration conf) |
public static final String PREFIX
public TimelineAuthenticationFilterInitializer()
protected void setAuthFilterConfig(org.apache.hadoop.conf.Configuration conf)
public void initFilter(org.apache.hadoop.http.FilterContainer container, org.apache.hadoop.conf.Configuration conf)
TimelineAuthenticationFilter
.
Propagates to TimelineAuthenticationFilter
configuration all YARN
configuration properties prefixed with "yarn.timeline-service.http-authentication.".
initFilter
in class org.apache.hadoop.http.FilterInitializer
container
- The filter container.conf
- Configuration for run-time parameters.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.