Package io.smallrye.jwt.auth.mechanism
Class JWTHttpAuthenticationMechanism
- java.lang.Object
-
- io.smallrye.jwt.auth.mechanism.JWTHttpAuthenticationMechanism
-
- All Implemented Interfaces:
jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
@ApplicationScoped public class JWTHttpAuthenticationMechanism extends Object implements jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
A JAX-RS HttpAuthenticationMechanism prototype TODO - JavaDoc and tests
-
-
Constructor Summary
Constructors Constructor Description JWTHttpAuthenticationMechanism()JWTHttpAuthenticationMechanism(JWTAuthContextInfo authContextInfo, JWTParser jwtParser, PrincipalProducer producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.security.enterprise.AuthenticationStatusvalidateRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
-
-
-
Constructor Detail
-
JWTHttpAuthenticationMechanism
public JWTHttpAuthenticationMechanism()
-
JWTHttpAuthenticationMechanism
public JWTHttpAuthenticationMechanism(JWTAuthContextInfo authContextInfo, JWTParser jwtParser, PrincipalProducer producer)
-
-
Method Detail
-
validateRequest
public jakarta.security.enterprise.AuthenticationStatus validateRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) throws jakarta.security.enterprise.AuthenticationException- Specified by:
validateRequestin interfacejakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism- Throws:
jakarta.security.enterprise.AuthenticationException
-
-