|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.security.authentication.server.AuthenticationFilter
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
org.apache.hadoop.fs.http.server.HttpFSAuthenticationFilter
@InterfaceAudience.Private public class HttpFSAuthenticationFilter
Subclass of hadoop-auth AuthenticationFilter that obtains its configuration
from HttpFSServer's server configuration.
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter |
|---|
DELEGATION_TOKEN_SECRET_MANAGER_ATTR, PROXYUSER_PREFIX |
| Fields inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter |
|---|
AUTH_TOKEN_VALIDITY, AUTH_TYPE, CONFIG_PREFIX, COOKIE_DOMAIN, COOKIE_PATH, SIGNATURE_SECRET, SIGNER_SECRET_PROVIDER, SIGNER_SECRET_PROVIDER_ATTRIBUTE |
| Constructor Summary | |
|---|---|
HttpFSAuthenticationFilter()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter |
|---|
doFilter, init, setHandlerAuthMethod |
| Methods inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter |
|---|
createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, isCustomSignerSecretProvider, isRandomSecret |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpFSAuthenticationFilter()
| Method Detail |
|---|
protected Properties getConfiguration(String configPrefix,
javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
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.DelegationTokenAuthenticationFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||