@InterfaceAudience.Private public class HttpFSAuthenticationFilter extends DelegationTokenAuthenticationFilter
AuthenticationFilter that obtains its configuration
from HttpFSServer's server configuration.DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIXAUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, 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 Configuration |
getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig) |
doFilter, init, initializeAuthHandler, setAuthHandlerClass, setHandlerAuthMethodconstructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, initializeSecretProvider, isCustomSignerSecretProvider, isRandomSecretprotected 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 DelegationTokenAuthenticationFilterconfigPrefix - parameter not used.filterConfig - parameter not used.javax.servlet.ServletExceptionprotected Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig)
getProxyuserConfiguration in class DelegationTokenAuthenticationFilterCopyright © 2018 CERN. All Rights Reserved.