Class TimelineAuthenticationFilter
java.lang.Object
org.apache.hadoop.security.authentication.server.AuthenticationFilter
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
org.apache.hadoop.yarn.server.timeline.security.TimelineAuthenticationFilter
- All Implemented Interfaces:
javax.servlet.Filter
@Private
@Unstable
public class TimelineAuthenticationFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
Timeline authentication filter provides delegation token support for ATSv1
and ATSv2.
-
Field Summary
Fields inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIXFields inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter
AUTH_TOKEN_MAX_INACTIVE_INTERVAL, AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, COOKIE_PERSISTENT, SIGNATURE_SECRET, SIGNATURE_SECRET_FILE, SIGNER_SECRET_PROVIDER, SIGNER_SECRET_PROVIDER_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(javax.servlet.FilterConfig filterConfig) static voidsetTimelineDelegationTokenSecretManager(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> secretMgr) Methods inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
doFilter, getConfiguration, getProxyuserConfiguration, initializeAuthHandler, setAuthHandlerClass, setHandlerAuthMethodMethods inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter
constructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getMaxInactiveInterval, getRequestURL, getToken, getValidity, initializeSecretProvider, isCookiePersistent, isCustomSignerSecretProvider, isRandomSecret, verifyTokenType
-
Constructor Details
-
TimelineAuthenticationFilter
public TimelineAuthenticationFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Overrides:
initin classorg.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter- Throws:
javax.servlet.ServletException
-
setTimelineDelegationTokenSecretManager
public static void setTimelineDelegationTokenSecretManager(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> secretMgr)
-