@InterfaceAudience.Private public class HttpFSAuthenticationFilter extends AuthenticationFilter
AuthenticationFilter
that obtains its configuration
from HttpFSServer's server configuration.AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, SIGNATURE_SECRET
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.
|
createCookie, destroy, doFilter, getAuthenticationHandler, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, init, isRandomSecret
protected Properties getConfiguration(String configPrefix, javax.servlet.FilterConfig filterConfig)
httpfs.authentication
. The httpfs.authentication
prefix is removed from the returned property names.getConfiguration
in class AuthenticationFilter
configPrefix
- parameter not used.filterConfig
- parameter not used.Copyright © 2013 Apache Software Foundation. All rights reserved.