Class OidcLogoutAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.oauth2.server.authorization.oidc.web.authentication.OidcLogoutAuthenticationSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public final class OidcLogoutAuthenticationSuccessHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
An implementation of an
AuthenticationSuccessHandler
used for handling an
OidcLogoutAuthenticationToken
and performing the OpenID Connect 1.0
RP-Initiated Logout.- Since:
- 1.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAuthenticationSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) void
setLogoutHandler
(org.springframework.security.web.authentication.logout.LogoutHandler logoutHandler) Sets theLogoutHandler
used for performing logout.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
-
OidcLogoutAuthenticationSuccessHandler
public OidcLogoutAuthenticationSuccessHandler()
-
-
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
-
setLogoutHandler
public void setLogoutHandler(org.springframework.security.web.authentication.logout.LogoutHandler logoutHandler) Sets theLogoutHandler
used for performing logout.- Parameters:
logoutHandler
- theLogoutHandler
used for performing logout
-