public class ProxyUserAuthenticationFilter
extends org.apache.hadoop.security.authentication.server.AuthenticationFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXYUSER_PREFIX |
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 |
|---|
ProxyUserAuthenticationFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilter(javax.servlet.FilterChain filterChain,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Configuration |
getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig) |
void |
init(javax.servlet.FilterConfig filterConfig) |
static javax.servlet.http.HttpServletRequest |
toLowerCase(javax.servlet.http.HttpServletRequest request) |
constructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getConfiguration, getCookieDomain, getCookiePath, getMaxInactiveInterval, getRequestURL, getToken, getValidity, initializeAuthHandler, initializeSecretProvider, isCookiePersistent, isCustomSignerSecretProvider, isRandomSecret, verifyTokenTypepublic static final String PROXYUSER_PREFIX
public 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.ServletExceptionprotected Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic static javax.servlet.http.HttpServletRequest toLowerCase(javax.servlet.http.HttpServletRequest request)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.