Class ServerAuthenticationEntryPointFailureHandler
- java.lang.Object
- 
- org.springframework.security.web.server.authentication.ServerAuthenticationEntryPointFailureHandler
 
- 
- All Implemented Interfaces:
- ServerAuthenticationFailureHandler
 
 public class ServerAuthenticationEntryPointFailureHandler extends java.lang.Object implements ServerAuthenticationFailureHandler Adapts aServerAuthenticationEntryPointinto aServerAuthenticationFailureHandler- Since:
- 5.0
 
- 
- 
Constructor SummaryConstructors Constructor Description ServerAuthenticationEntryPointFailureHandler(ServerAuthenticationEntryPoint authenticationEntryPoint)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>onAuthenticationFailure(WebFilterExchange webFilterExchange, AuthenticationException exception)Invoked when authentication attempt fails
 
- 
- 
- 
Constructor Detail- 
ServerAuthenticationEntryPointFailureHandlerpublic ServerAuthenticationEntryPointFailureHandler(ServerAuthenticationEntryPoint authenticationEntryPoint) 
 
- 
 - 
Method Detail- 
onAuthenticationFailurepublic reactor.core.publisher.Mono<java.lang.Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, AuthenticationException exception) Description copied from interface:ServerAuthenticationFailureHandlerInvoked when authentication attempt fails- Specified by:
- onAuthenticationFailurein interface- ServerAuthenticationFailureHandler
- Parameters:
- webFilterExchange- the exchange
- exception- the reason authentication failed
- Returns:
- a completion notification (success or error)
 
 
- 
 
-