Package org.apache.solr.security.hadoop
Class RequestContinuesRecorderAuthenticationHandler
- java.lang.Object
-
- org.apache.solr.security.hadoop.RequestContinuesRecorderAuthenticationHandler
-
- All Implemented Interfaces:
org.apache.hadoop.security.authentication.server.AuthenticationHandler
public class RequestContinuesRecorderAuthenticationHandler extends Object implements org.apache.hadoop.security.authentication.server.AuthenticationHandler
AuthenticationHandlerthat delegates to anotherAuthenticationHandlerand records the response of managementOperation (which indicates whether the request should continue or not).
-
-
Constructor Summary
Constructors Constructor Description RequestContinuesRecorderAuthenticationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.security.authentication.server.AuthenticationTokenauthenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voiddestroy()StringgetType()voidinit(Properties config)booleanmanagementOperation(org.apache.hadoop.security.authentication.server.AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voidsetAuthHandler(org.apache.hadoop.security.authentication.server.AuthenticationHandler authHandler)
-
-
-
Method Detail
-
setAuthHandler
public void setAuthHandler(org.apache.hadoop.security.authentication.server.AuthenticationHandler authHandler)
-
getType
public String getType()
- Specified by:
getTypein interfaceorg.apache.hadoop.security.authentication.server.AuthenticationHandler
-
init
public void init(Properties config) throws javax.servlet.ServletException
- Specified by:
initin interfaceorg.apache.hadoop.security.authentication.server.AuthenticationHandler- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.apache.hadoop.security.authentication.server.AuthenticationHandler
-
managementOperation
public boolean managementOperation(org.apache.hadoop.security.authentication.server.AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, org.apache.hadoop.security.authentication.client.AuthenticationException- Specified by:
managementOperationin interfaceorg.apache.hadoop.security.authentication.server.AuthenticationHandler- Throws:
IOExceptionorg.apache.hadoop.security.authentication.client.AuthenticationException
-
authenticate
public org.apache.hadoop.security.authentication.server.AuthenticationToken authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, org.apache.hadoop.security.authentication.client.AuthenticationException- Specified by:
authenticatein interfaceorg.apache.hadoop.security.authentication.server.AuthenticationHandler- Throws:
IOExceptionorg.apache.hadoop.security.authentication.client.AuthenticationException
-
-