@InterfaceAudience.Private
@InterfaceStability.Evolving
public class ProxyUserAuthenticationFilter
extends org.apache.hadoop.security.authentication.server.AuthenticationFilter
| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
ProxyUserAuthenticationFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, verifyTokenTypepublic void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init 在接口中 javax.servlet.Filterinit 在类中 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 在类中 org.apache.hadoop.security.authentication.server.AuthenticationFilterIOExceptionjavax.servlet.ServletExceptionprotected org.apache.hadoop.conf.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 © 2007–2020 The Apache Software Foundation. All rights reserved.