Class DelegatingServerAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.server.authentication.DelegatingServerAuthenticationSuccessHandler
- All Implemented Interfaces:
ServerAuthenticationSuccessHandler
public class DelegatingServerAuthenticationSuccessHandler
extends Object
implements ServerAuthenticationSuccessHandler
Delegates to a collection of
ServerAuthenticationSuccessHandler
implementations.- Since:
- 5.1
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
onAuthenticationSuccess
(WebFilterExchange exchange, Authentication authentication) Invoked when the application authenticates successfully
-
Constructor Details
-
DelegatingServerAuthenticationSuccessHandler
public DelegatingServerAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler... delegates)
-
-
Method Details
-
onAuthenticationSuccess
public reactor.core.publisher.Mono<Void> onAuthenticationSuccess(WebFilterExchange exchange, Authentication authentication) Description copied from interface:ServerAuthenticationSuccessHandler
Invoked when the application authenticates successfully- Specified by:
onAuthenticationSuccess
in interfaceServerAuthenticationSuccessHandler
- Parameters:
exchange
- the exchangeauthentication
- theAuthentication
- Returns:
- a completion notification (success or error)
-