Class AbstractMaprAuthenticationHandler
java.lang.Object
com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
com.mapr.web.security.hadoop.jakartaauth.AbstractMaprAuthenticationHandler
- All Implemented Interfaces:
AuthenticationHandler
- Direct Known Subclasses:
MaprAuthHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
MultiMechsAuthenticationHandler.AuthHandlerEnum -
Field Summary
FieldsFields inherited from class com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
MTYPEFields inherited from interface com.mapr.web.security.hadoop.jakartaauth.AuthenticationHandler
WWW_AUTHENTICATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeader(jakarta.servlet.http.HttpServletResponse response) voiddestroy()getAuthBasedEntity(String authorization) abstract voidinit(Properties config) abstract AuthenticationTokenmaprAuthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) postauthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
authenticate, getType, managementOperation
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
AbstractMaprAuthenticationHandler
public AbstractMaprAuthenticationHandler()
-
-
Method Details
-
init
- Specified by:
initin interfaceAuthenticationHandler- Overrides:
initin classMultiMechsAuthenticationHandler- Throws:
jakarta.servlet.ServletException
-
maprAuthenticate
public abstract AuthenticationToken maprAuthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, AuthenticationException - Throws:
IOExceptionAuthenticationException
-
destroy
public void destroy()- Specified by:
destroyin interfaceAuthenticationHandler- Overrides:
destroyin classMultiMechsAuthenticationHandler
-
postauthenticate
public AuthenticationToken postauthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, AuthenticationException - Overrides:
postauthenticatein classMultiMechsAuthenticationHandler- Throws:
IOExceptionAuthenticationException
-
addHeader
public void addHeader(jakarta.servlet.http.HttpServletResponse response) - Overrides:
addHeaderin classMultiMechsAuthenticationHandler
-
getAuthBasedEntity
- Overrides:
getAuthBasedEntityin classMultiMechsAuthenticationHandler
-
getAuthorizationHeaderName
- Overrides:
getAuthorizationHeaderNamein classMultiMechsAuthenticationHandler
-