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 Modifier and Type Field Description static String
CALLBACK_MAPPING
-
Constructor Summary
Constructors Constructor Description OpenIdConnectController(OpenIdConnectClient client, org.springframework.security.authentication.AuthenticationManager authManager, OpenIdConnectSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authorizationCallback(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse response, String error, String errorDescription, String code, String state)
-
-
-
Field Detail
-
CALLBACK_MAPPING
public static final String CALLBACK_MAPPING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenIdConnectController
public OpenIdConnectController(OpenIdConnectClient client, @Qualifier("blueriqAuthenticationManager") org.springframework.security.authentication.AuthenticationManager authManager, OpenIdConnectSettings settings)
-
-
Method Detail
-
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)
-
-