use of org.apache.hadoop.security.authentication.server.AuthenticationHandler in project lucene-solr by apache.
the class DelegationTokenKerberosFilter method initializeAuthHandler.
@Override
protected void initializeAuthHandler(String authHandlerClassName, FilterConfig filterConfig) throws ServletException {
// set the internal authentication handler in order to record whether the request should continue
super.initializeAuthHandler(authHandlerClassName, filterConfig);
AuthenticationHandler authHandler = getAuthenticationHandler();
super.initializeAuthHandler(RequestContinuesRecorderAuthenticationHandler.class.getName(), filterConfig);
RequestContinuesRecorderAuthenticationHandler newAuthHandler = (RequestContinuesRecorderAuthenticationHandler) getAuthenticationHandler();
newAuthHandler.setAuthHandler(authHandler);
}
Aggregations