Class SpringAddonsOauth2AuthenticationSuccessHandler
java.lang.Object
com.c4_soft.springaddons.security.oidc.starter.synchronised.client.SpringAddonsOauth2AuthenticationSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class SpringAddonsOauth2AuthenticationSuccessHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
An authentication success handler reading post-login success URI in session (set by the frontend
with a header or request param when initiating the authorization_code flow) and using a
SpringAddonsOauth2RedirectStrategy- Author:
- Jerome Wacongne ch4mp@c4-soft.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpringAddonsOauth2AuthenticationSuccessHandler(SpringAddonsOidcProperties addonsProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
SpringAddonsOauth2AuthenticationSuccessHandler
-
-
Method Details
-
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-