javax.servlet.Filter@Private
public class HttpFSAuthenticationFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
AuthenticationFilter that obtains its
configuration from HttpFSServer's server configuration.| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONF_PREFIX |
|
static java.lang.String |
HADOOP_HTTP_CONF_PREFIX |
DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIXACTION_PARAM, AUTH_TOKEN_MAX_INACTIVE_INTERVAL, AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, configPrefix, COOKIE_DOMAIN, COOKIE_PATH, COOKIE_PERSISTENT, SIGNATURE_SECRET, SIGNER_SECRET_PROVIDER, SIGNER_SECRET_PROVIDER_ATTRIBUTE, SSO_LOGIN_COOKIE| Constructor | Description |
|---|---|
HttpFSAuthenticationFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Properties |
getConfiguration(java.lang.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, getAuthUrl, getConfiguration, getCookieDomain, getCookiePath, getCookieTokenName, getLogoutUrl, getMaxInactiveInterval, getRequestURL, getToken, getValidity, initializeSecretProvider, isCookiePersistent, isCustomSignerSecretProvider, isRandomSecret, verifyTokenTypepublic static final java.lang.String CONF_PREFIX
public static final java.lang.String HADOOP_HTTP_CONF_PREFIX
protected java.util.Properties getConfiguration(java.lang.String configPrefix,
javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
It returns all HttpFSServer's configuration properties prefixed with
hadoop.http.authentication. The
hadoop.http.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–2025 Apache Software Foundation. All rights reserved.