Class WebSessionServerLogoutHandler
- java.lang.Object
-
- org.springframework.security.web.server.authentication.logout.WebSessionServerLogoutHandler
-
- All Implemented Interfaces:
ServerLogoutHandler
public class WebSessionServerLogoutHandler extends java.lang.Object implements ServerLogoutHandler
AServerLogoutHandler
which invalidates the activeWebSession
.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description WebSessionServerLogoutHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
logout(WebFilterExchange exchange, Authentication authentication)
Invoked when log out is requested
-
-
-
Method Detail
-
logout
public reactor.core.publisher.Mono<java.lang.Void> logout(WebFilterExchange exchange, Authentication authentication)
Description copied from interface:ServerLogoutHandler
Invoked when log out is requested- Specified by:
logout
in interfaceServerLogoutHandler
- Parameters:
exchange
- the exchangeauthentication
- theAuthentication
- Returns:
- a completion notification (success or error)
-
-