Module org.glassfish.soteria
Package org.glassfish.soteria.mechanisms
Class OpenIdAuthenticationMechanism
- java.lang.Object
-
- org.glassfish.soteria.mechanisms.OpenIdAuthenticationMechanism
-
- All Implemented Interfaces:
jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
@ApplicationScoped @Typed(OpenIdAuthenticationMechanism.class) public class OpenIdAuthenticationMechanism extends Object implements jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
The AuthenticationMechanism used to authenticate users using the OpenId Connect protocol
Specification Implemented : http://openid.net/specs/openid-connect-core-1_0.html- Author:
- Gaurav Gupta, Rudy De Busscher, Arjan Tijms
-
-
Field Summary
Fields Modifier and Type Field Description static StringORIGINAL_REQUEST_DATA_JSON
-
Constructor Summary
Constructors Constructor Description OpenIdAuthenticationMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanSubject(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)jakarta.security.enterprise.AuthenticationStatusvalidateRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpContext)
-
-
-
Field Detail
-
ORIGINAL_REQUEST_DATA_JSON
public static final String ORIGINAL_REQUEST_DATA_JSON
- See Also:
- Constant Field Values
-
-
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 httpContext) throws jakarta.security.enterprise.AuthenticationException- Specified by:
validateRequestin interfacejakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism- Throws:
jakarta.security.enterprise.AuthenticationException
-
cleanSubject
public void cleanSubject(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)- Specified by:
cleanSubjectin interfacejakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
-
-