Class RegisterSessionServerAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.server.authentication.RegisterSessionServerAuthenticationSuccessHandler
- All Implemented Interfaces:
ServerAuthenticationSuccessHandler
public final class RegisterSessionServerAuthenticationSuccessHandler
extends Object
implements ServerAuthenticationSuccessHandler
An implementation of
ServerAuthenticationSuccessHandler that will register a
ReactiveSessionInformation with the provided ReactiveSessionRegistry.- Since:
- 6.3
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterSessionServerAuthenticationSuccessHandler(ReactiveSessionRegistry sessionRegistry) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>onAuthenticationSuccess(WebFilterExchange exchange, Authentication authentication) Invoked when the application authenticates successfully
-
Constructor Details
-
RegisterSessionServerAuthenticationSuccessHandler
-
-
Method Details
-
onAuthenticationSuccess
public reactor.core.publisher.Mono<Void> onAuthenticationSuccess(WebFilterExchange exchange, Authentication authentication) Description copied from interface:ServerAuthenticationSuccessHandlerInvoked when the application authenticates successfully- Specified by:
onAuthenticationSuccessin interfaceServerAuthenticationSuccessHandler- Parameters:
exchange- the exchangeauthentication- theAuthentication- Returns:
- a completion notification (success or error)
-