Package com.aquima.web.api.controller
Class OpenIdConnectController
java.lang.Object
com.aquima.web.api.controller.OpenIdConnectController
@RestController
@ServerContext
@ConditionalOnProperty(name="blueriq.security.login-type",
havingValue="openid-connect")
public class OpenIdConnectController
extends Object
- Since:
- 11.3
- Author:
- Mihai Bob
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenIdConnectController
(OpenIdConnectClient client, org.springframework.security.authentication.AuthenticationManager authManager, OpenIdConnectSettings settings, org.springframework.security.web.authentication.session.SessionAuthenticationStrategy sessionAuthenticationStrategy, org.springframework.security.web.context.SecurityContextRepository securityContextRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
authorizationCallback
(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse response, String error, String errorDescription, String code, String state)
-
Field Details
-
CALLBACK_MAPPING
- See Also:
-
-
Constructor Details
-
OpenIdConnectController
public OpenIdConnectController(OpenIdConnectClient client, @Qualifier("blueriqAuthenticationManager") org.springframework.security.authentication.AuthenticationManager authManager, OpenIdConnectSettings settings, org.springframework.security.web.authentication.session.SessionAuthenticationStrategy sessionAuthenticationStrategy, org.springframework.security.web.context.SecurityContextRepository securityContextRepository)
-
-
Method Details
-
authorizationCallback
@GetMapping("/oidc/callback") public void authorizationCallback(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse response, @RequestParam(value="error",required=false) String error, @RequestParam(value="error_description",required=false) String errorDescription, @RequestParam(value="code",required=false) String code, @RequestParam(value="state",required=false) String state)
-