Class DelegatingServerAuthenticationSuccessHandler
- java.lang.Object
-
- org.springframework.security.web.server.authentication.DelegatingServerAuthenticationSuccessHandler
-
- All Implemented Interfaces:
ServerAuthenticationSuccessHandler
public class DelegatingServerAuthenticationSuccessHandler extends java.lang.Object implements ServerAuthenticationSuccessHandler
Delegates to a collection ofServerAuthenticationSuccessHandler
implementations.- Since:
- 5.1
-
-
Constructor Summary
Constructors Constructor Description DelegatingServerAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler... delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
onAuthenticationSuccess(WebFilterExchange exchange, Authentication authentication)
Invoked when the application authenticates successfully
-
-
-
Constructor Detail
-
DelegatingServerAuthenticationSuccessHandler
public DelegatingServerAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler... delegates)
-
-
Method Detail
-
onAuthenticationSuccess
public reactor.core.publisher.Mono<java.lang.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)
-
-