Class HvlAuthOidcLogoutResponseHandler
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.oidc.configuration.HvlAuthOidcLogoutResponseHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
@Component
public class HvlAuthOidcLogoutResponseHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
The auth oidc logout response handler.
-
Constructor Summary
ConstructorDescriptionHvlAuthOidcLogoutResponseHandler
(HvlJpaRegisteredClientRepository registeredClientRepository) Instantiates a new HvlAuthOidcLogoutResponseHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAuthenticationSuccess
(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, wait
Methods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
HvlAuthOidcLogoutResponseHandler
public HvlAuthOidcLogoutResponseHandler(HvlJpaRegisteredClientRepository registeredClientRepository) Instantiates a new HvlAuthOidcLogoutResponseHandler.- Parameters:
registeredClientRepository
- the registered client repository
-
-
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:
onAuthenticationSuccess
in interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler
- Throws:
IOException
jakarta.servlet.ServletException
-