org.apache.solr.security

Class DelegationTokenKerberosFilter

  • java.lang.Object
    • DelegationTokenAuthenticationFilter
      • org.apache.solr.security.DelegationTokenKerberosFilter


  • public class DelegationTokenKerberosFilter
    extends DelegationTokenAuthenticationFilter
    This is an authentication filter based on Hadoop's 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.
    • Method Detail

      • init

        public void init(FilterConfig conf)
                  throws ServletException
        Throws:
        ServletException
      • getProxyuserConfiguration

        protected Configuration getProxyuserConfiguration(FilterConfig filterConf)
                                                   throws ServletException
        Return the ProxyUser Configuration. FilterConfig properties beginning with "solr.impersonator.user.name" will be added to the configuration.
        Throws:
        ServletException
      • doFilter

        public void doFilter(ServletRequest request,
                             ServletResponse response,
                             FilterChain filterChain)
                      throws IOException,
                             ServletException
        Throws:
        IOException
        ServletException
      • initializeAuthHandler

        protected void initializeAuthHandler(String authHandlerClassName,
                                             FilterConfig filterConfig)
                                      throws ServletException
        Throws:
        ServletException