Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanSubject​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)  
      jakarta.security.enterprise.AuthenticationStatus validateRequest​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext httpContext)  
      • Methods inherited from interface jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism

        secureResponse
    • Constructor Detail

      • OpenIdAuthenticationMechanism

        public OpenIdAuthenticationMechanism()
    • 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:
        validateRequest in interface jakarta.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:
        cleanSubject in interface jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism