public class DelegationTokenKerberosFilter
extends org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter
DelegationTokenAuthenticationFilter
.
The Kerberos plugin can be configured to use delegation tokens, which allow an
application to reuse the authentication of an end-user or another application.Modifier and Type | Class and Description |
---|---|
protected static class |
DelegationTokenKerberosFilter.SolrZkToCuratorCredentialsACLs
Convert Solr Zk Credentials/ACLs to Curator versions
|
Constructor and Description |
---|
DelegationTokenKerberosFilter() |
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) |
protected org.apache.hadoop.conf.Configuration |
getProxyuserConfiguration(javax.servlet.FilterConfig filterConf)
Return the ProxyUser Configuration.
|
void |
init(javax.servlet.FilterConfig conf) |
protected void |
initializeAuthHandler(String authHandlerClassName,
javax.servlet.FilterConfig filterConfig) |
doFilter, getConfiguration, 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
protected org.apache.hadoop.conf.Configuration getProxyuserConfiguration(javax.servlet.FilterConfig filterConf) throws javax.servlet.ServletException
getProxyuserConfiguration
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.