@InterfaceAudience.Private
public class HttpFSAuthenticationFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
AuthenticationFilter that obtains its configuration
from HttpFSServer's server configuration.DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIXAUTH_TOKEN_MAX_INACTIVE_INTERVAL, AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, COOKIE_PERSISTENT, SIGNATURE_SECRET, SIGNER_SECRET_PROVIDER, SIGNER_SECRET_PROVIDER_ATTRIBUTE| Constructor and Description |
|---|
HttpFSAuthenticationFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
getConfiguration(String configPrefix,
javax.servlet.FilterConfig filterConfig)
Returns the hadoop-auth configuration from HttpFSServer's configuration.
|
protected org.apache.hadoop.conf.Configuration |
getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig) |
doFilter, init, initializeAuthHandler, setAuthHandlerClass, setHandlerAuthMethodconstructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getMaxInactiveInterval, getRequestURL, getToken, getValidity, initializeSecretProvider, isCookiePersistent, isCustomSignerSecretProvider, isRandomSecret, verifyTokenTypeprotected Properties getConfiguration(String configPrefix, javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
It returns all HttpFSServer's configuration properties prefixed with
httpfs.authentication. The httpfs.authentication
prefix is removed from the returned property names.
getConfiguration in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilterconfigPrefix - parameter not used.filterConfig - parameter not used.javax.servlet.ServletExceptionprotected org.apache.hadoop.conf.Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig)
getProxyuserConfiguration in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilterCopyright © 2008–2022 Apache Software Foundation. All rights reserved.