@InterfaceAudience.Private public class HttpFSAuthenticationFilter extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
AuthenticationFilter
that obtains its configuration
from HttpFSServer's server configuration.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, setHandlerAuthMethod
constructSecretProvider, createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, initializeSecretProvider, isCustomSignerSecretProvider, isRandomSecret
public HttpFSAuthenticationFilter()
protected 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.DelegationTokenAuthenticationFilter
configPrefix
- parameter not used.filterConfig
- parameter not used.javax.servlet.ServletException
protected org.apache.hadoop.conf.Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConfig)
getProxyuserConfiguration
in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
Copyright © 2015 Apache Software Foundation. All Rights Reserved.