Class WebFilterChainServerAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.server.authentication.WebFilterChainServerAuthenticationSuccessHandler
- All Implemented Interfaces:
ServerAuthenticationSuccessHandler
public class WebFilterChainServerAuthenticationSuccessHandler
extends Object
implements ServerAuthenticationSuccessHandler
Success handler that continues the filter chain after authentication success.
- Since:
- 5.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
onAuthenticationSuccess
(WebFilterExchange webFilterExchange, Authentication authentication) Invoked when the application authenticates successfully
-
Constructor Details
-
WebFilterChainServerAuthenticationSuccessHandler
public WebFilterChainServerAuthenticationSuccessHandler()
-
-
Method Details
-
onAuthenticationSuccess
public reactor.core.publisher.Mono<Void> onAuthenticationSuccess(WebFilterExchange webFilterExchange, Authentication authentication) Description copied from interface:ServerAuthenticationSuccessHandler
Invoked when the application authenticates successfully- Specified by:
onAuthenticationSuccess
in interfaceServerAuthenticationSuccessHandler
- Parameters:
webFilterExchange
- the exchangeauthentication
- theAuthentication
- Returns:
- a completion notification (success or error)
-