public class HadoopAuthFilter
extends 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 and Description |
|---|
HadoopAuthFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilter(javax.servlet.FilterChain filterChain,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Properties |
getConfiguration(String configPrefix,
javax.servlet.FilterConfig filterConfig) |
void |
init(javax.servlet.FilterConfig filterConfig) |
constructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getMaxInactiveInterval, getRequestURL, getToken, getValidity, initializeAuthHandler, initializeSecretProvider, isCookiePersistent, isCustomSignerSecretProvider, isRandomSecret, verifyTokenTypeprotected Properties getConfiguration(String configPrefix, javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
getConfiguration in class org.apache.hadoop.security.authentication.server.AuthenticationFilterjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterinit in class org.apache.hadoop.security.authentication.server.AuthenticationFilterjavax.servlet.ServletExceptionprotected void doFilter(javax.servlet.FilterChain filterChain,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
doFilter in class org.apache.hadoop.security.authentication.server.AuthenticationFilterIOExceptionjavax.servlet.ServletExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.