Class OpenIdAuthenticationMechanism
java.lang.Object
org.wildfly.security.soteria.original.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
Specification Implemented : http://openid.net/specs/openid-connect-core-1_0.html
- Author:
- Gaurav Gupta, Rudy De Busscher, Arjan Tijms
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanSubject(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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
secureResponse
-
Field Details
-
ORIGINAL_REQUEST_DATA_JSON
- See Also:
-
-
Constructor Details
-
OpenIdAuthenticationMechanism
public OpenIdAuthenticationMechanism()
-
-
Method Details
-
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
-