org.apache.hadoop.hbase.rest.filter
Class AuthFilter

java.lang.Object
  extended by org.apache.hadoop.security.authentication.server.AuthenticationFilter
      extended by org.apache.hadoop.hbase.rest.filter.AuthFilter
All Implemented Interfaces:
javax.servlet.Filter

public class AuthFilter
extends org.apache.hadoop.security.authentication.server.AuthenticationFilter


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
 
Constructor Summary
AuthFilter()
           
 
Method Summary
protected  Properties getConfiguration(String configPrefix, javax.servlet.FilterConfig filterConfig)
          Returns the configuration to be used by the authentication filter to initialize the authentication handler.
 
Methods inherited from class org.apache.hadoop.security.authentication.server.AuthenticationFilter
createCookie, destroy, doFilter, getAuthenticationHandler, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, init, isRandomSecret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthFilter

public AuthFilter()
Method Detail

getConfiguration

protected Properties getConfiguration(String configPrefix,
                                      javax.servlet.FilterConfig filterConfig)
                               throws javax.servlet.ServletException
Returns the configuration to be used by the authentication filter to initialize the authentication handler. This filter retrieves all HBase configurations and passes those started with REST_PREFIX to the authentication handler. It is useful to support plugging different authentication handlers.

Overrides:
getConfiguration in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
Throws:
javax.servlet.ServletException


Copyright © 2015 The Apache Software Foundation. All rights reserved.