public class RedirectServerLogoutSuccessHandler extends java.lang.Object implements ServerLogoutSuccessHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_LOGOUT_SUCCESS_URL |
| Constructor and Description |
|---|
RedirectServerLogoutSuccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
onLogoutSuccess(WebFilterExchange exchange,
org.springframework.security.core.Authentication authentication)
Invoked after log out was successful
|
void |
setLogoutSuccessUrl(java.net.URI logoutSuccessUrl)
The URL to redirect to after successfully logging out.
|
public static final java.lang.String DEFAULT_LOGOUT_SUCCESS_URL
public reactor.core.publisher.Mono<java.lang.Void> onLogoutSuccess(WebFilterExchange exchange, org.springframework.security.core.Authentication authentication)
ServerLogoutSuccessHandleronLogoutSuccess in interface ServerLogoutSuccessHandlerexchange - the exchangeauthentication - the Authenticationpublic void setLogoutSuccessUrl(java.net.URI logoutSuccessUrl)
logoutSuccessUrl - the url to redirect to. Default is "/login?logout".