Module org.glassfish.soteria
Class AuthenticationController
- java.lang.Object
-
- org.glassfish.soteria.mechanisms.openid.controller.AuthenticationController
-
@ApplicationScoped public class AuthenticationController extends Object
Controller for Authentication endpoint- Author:
- Gaurav Gupta, Rudy De Busscher, Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description AuthenticationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.security.enterprise.AuthenticationStatusauthenticateUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)(1) The RP (Client) sends a request to the OpenId Connect Provider (OP) to authenticates the End-User using the Authorization Code Flow and authorization Code is returned from the Authorization Endpoint.
-
-
-
Method Detail
-
authenticateUser
public jakarta.security.enterprise.AuthenticationStatus authenticateUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)(1) The RP (Client) sends a request to the OpenId Connect Provider (OP) to authenticates the End-User using the Authorization Code Flow and authorization Code is returned from the Authorization Endpoint.
(2) Authorization Server authenticates the End-User, obtains End-User Consent/Authorization and sends the End-User back to the Client with an Authorization Code.- Parameters:
request-response-- Returns:
-
-