Interface ServerAuthenticationFailureHandler
- All Known Implementing Classes:
RedirectServerAuthenticationFailureHandler
,ServerAuthenticationEntryPointFailureHandler
public interface ServerAuthenticationFailureHandler
Handles authentication failure
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
onAuthenticationFailure
(WebFilterExchange webFilterExchange, AuthenticationException exception) Invoked when authentication attempt fails
-
Method Details
-
onAuthenticationFailure
reactor.core.publisher.Mono<Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, AuthenticationException exception) Invoked when authentication attempt fails- Parameters:
webFilterExchange
- the exchangeexception
- the reason authentication failed- Returns:
- a completion notification (success or error)
-