|
||||||||||
| 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.hdfs.web.AuthFilter
public class AuthFilter
Subclass of AuthenticationFilter that
obtains Hadoop-Auth configuration for webhdfs.
| Field Summary |
|---|
| 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 | |
|---|---|
AuthFilter()
|
|
| Method Summary | |
|---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
|
protected Properties |
getConfiguration(String prefix,
javax.servlet.FilterConfig config)
Returns the filter configuration properties, including the ones prefixed with CONF_PREFIX. |
| Methods inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter |
|---|
createAuthCookie, destroy, doFilter, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, init, isCustomSignerSecretProvider, isRandomSecret |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthFilter()
| Method Detail |
|---|
protected Properties getConfiguration(String prefix,
javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
CONF_PREFIX.
The prefix is removed from the returned property names.
getConfiguration in class org.apache.hadoop.security.authentication.server.AuthenticationFilterprefix - parameter not used.config - parameter contains the initialization values.
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class org.apache.hadoop.security.authentication.server.AuthenticationFilterIOException
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||