public class HadoopAuthFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
DelegationTokenAuthenticationFilter
.Modifier and Type | Class and Description |
---|---|
protected static class |
HadoopAuthFilter.SolrZkToCuratorCredentialsACLs
Convert Solr Zk Credentials/ACLs to Curator versions
|
Constructor and Description |
---|
HadoopAuthFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain) |
protected org.apache.curator.framework.CuratorFramework |
getCuratorClient(SolrZkClient zkClient) |
void |
init(javax.servlet.FilterConfig conf) |
protected void |
initializeAuthHandler(String authHandlerClassName,
javax.servlet.FilterConfig filterConfig) |
doFilter, getConfiguration, getProxyuserConfiguration, setAuthHandlerClass, setHandlerAuthMethod
constructSecretProvider, createAuthCookie, getAuthenticationHandler, getConfiguration, getCookieDomain, getCookiePath, getRequestURL, getToken, getValidity, initializeSecretProvider, isCustomSignerSecretProvider, isRandomSecret
public void init(javax.servlet.FilterConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
init
in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
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.Filter
doFilter
in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
protected void initializeAuthHandler(String authHandlerClassName, javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
initializeAuthHandler
in class org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
javax.servlet.ServletException
protected org.apache.curator.framework.CuratorFramework getCuratorClient(SolrZkClient zkClient)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.