Class JWTAuthHandler
java.lang.Object
com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
com.mapr.web.security.hadoop.jakartaauth.JWTAuthHandler
- All Implemented Interfaces:
AuthenticationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
MultiMechsAuthenticationHandler.AuthHandlerEnum -
Field Summary
Fields 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) getAuthBasedEntity(String authorization) voidinit(Properties config) postauthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class com.mapr.web.security.hadoop.jakartaauth.MultiMechsAuthenticationHandler
authenticate, destroy, getType, managementOperation
-
Constructor Details
-
JWTAuthHandler
public JWTAuthHandler()
-
-
Method Details
-
init
- Specified by:
initin interfaceAuthenticationHandler- Overrides:
initin classMultiMechsAuthenticationHandler- Throws:
jakarta.servlet.ServletException
-
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
-