@InterfaceAudience.Private @InterfaceStability.Evolving public class ProxyUserAuthenticationFilter extends org.apache.hadoop.security.authentication.server.AuthenticationFilter
Modifier and Type | Field and Description |
---|---|
private static String |
DO_AS |
private static org.slf4j.Logger |
LOG |
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 |
---|---|
(package private) static boolean |
containsUpperCase(Iterable<String> strings) |
protected void |
doFilter(javax.servlet.FilterChain filterChain,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected org.apache.hadoop.conf.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, verifyTokenType
private static final org.slf4j.Logger LOG
private static final String DO_AS
public static final String PROXYUSER_PREFIX
public ProxyUserAuthenticationFilter()
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
init
in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
javax.servlet.ServletException
protected 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.AuthenticationFilter
IOException
javax.servlet.ServletException
protected org.apache.hadoop.conf.Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
static boolean containsUpperCase(Iterable<String> strings)
public static javax.servlet.http.HttpServletRequest toLowerCase(javax.servlet.http.HttpServletRequest request)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.