Class WebSessionServerLogoutHandler
java.lang.Object
org.springframework.security.web.server.authentication.logout.WebSessionServerLogoutHandler
- All Implemented Interfaces:
ServerLogoutHandler
A
ServerLogoutHandler which invalidates the active WebSession.- Since:
- 5.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>logout(WebFilterExchange exchange, Authentication authentication) Invoked when log out is requested
-
Constructor Details
-
WebSessionServerLogoutHandler
public WebSessionServerLogoutHandler()
-
-
Method Details
-
logout
public reactor.core.publisher.Mono<Void> logout(WebFilterExchange exchange, Authentication authentication) Description copied from interface:ServerLogoutHandlerInvoked when log out is requested- Specified by:
logoutin interfaceServerLogoutHandler- Parameters:
exchange- the exchangeauthentication- theAuthentication- Returns:
- a completion notification (success or error)
-