Package io.smallrye.jwt.auth.mechanism
Class JWTHttpAuthenticationMechanism
- java.lang.Object
-
- io.smallrye.jwt.auth.mechanism.JWTHttpAuthenticationMechanism
-
- All Implemented Interfaces:
javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
@ApplicationScoped public class JWTHttpAuthenticationMechanism extends Object implements javax.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 javax.security.enterprise.AuthenticationStatusvalidateRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.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 javax.security.enterprise.AuthenticationStatus validateRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) throws javax.security.enterprise.AuthenticationException- Specified by:
validateRequestin interfacejavax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism- Throws:
javax.security.enterprise.AuthenticationException
-
-