Interface LogoutSuccessHandler
-
- All Known Implementing Classes:
DelegatingLogoutSuccessHandler,ForwardLogoutSuccessHandler,HttpStatusReturningLogoutSuccessHandler,OidcClientInitiatedLogoutSuccessHandler,Saml2RelyingPartyInitiatedLogoutSuccessHandler,SimpleUrlLogoutSuccessHandler
public interface LogoutSuccessHandlerStrategy that is called after a successful logout by theLogoutFilter, to handle redirection or forwarding to the appropriate destination.Note that the interface is almost the same as
LogoutHandlerbut may raise an exception. LogoutHandler implementations expect to be invoked to perform necessary cleanup, so should not throw exceptions.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication)
-
-
-
Method Detail
-
onLogoutSuccess
void onLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication) throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-