Interface ServerAuthenticationFailureHandler
-
- All Known Implementing Classes:
RedirectServerAuthenticationFailureHandler
,ServerAuthenticationEntryPointFailureHandler
public interface ServerAuthenticationFailureHandler
Handles authentication failure- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
onAuthenticationFailure(WebFilterExchange webFilterExchange, AuthenticationException exception)
Invoked when authentication attempt fails
-
-
-
Method Detail
-
onAuthenticationFailure
reactor.core.publisher.Mono<java.lang.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)
-
-