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

java.lang.Object
  extended by org.apache.hadoop.security.authentication.server.AuthenticationFilter
      extended by org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
          extended by org.apache.hadoop.yarn.server.timeline.security.TimelineAuthenticationFilter
All Implemented Interfaces:
javax.servlet.Filter

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class TimelineAuthenticationFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter


Field Summary
 
Fields inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIX
 
Fields inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter
AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, SIGNATURE_SECRET, SIGNER_SECRET_PROVIDER, SIGNER_SECRET_PROVIDER_ATTRIBUTE
 
Constructor Summary
TimelineAuthenticationFilter()
           
 
Method Summary
 void init(javax.servlet.FilterConfig filterConfig)
           
static void setTimelineDelegationTokenSecretManager(TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager secretManager)
           
 
Methods inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
doFilter, getConfiguration, getProxyuserConfiguration, setHandlerAuthMethod
 
Methods inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter
createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, isCustomSignerSecretProvider, isRandomSecret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimelineAuthenticationFilter

public TimelineAuthenticationFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
Throws:
javax.servlet.ServletException

setTimelineDelegationTokenSecretManager

public static void setTimelineDelegationTokenSecretManager(TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager secretManager)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.