Class HttpStatusServerEntryPoint
java.lang.Object
org.springframework.security.web.server.authentication.HttpStatusServerEntryPoint
- All Implemented Interfaces:
- ServerAuthenticationEntryPoint
A 
ServerAuthenticationEntryPoint that sends a generic HttpStatus as a
 response. Useful for JavaScript clients which cannot use Basic authentication since the
 browser intercepts the response.- Since:
- 5.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException) Initiates the authentication flow
- 
Constructor Details- 
HttpStatusServerEntryPointpublic HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus) 
 
- 
- 
Method Details- 
commencepublic reactor.core.publisher.Mono<Void> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException) Description copied from interface:ServerAuthenticationEntryPointInitiates the authentication flow- Specified by:
- commencein interface- ServerAuthenticationEntryPoint
- Returns:
- Mono<Void>to indicate when the request for authentication is complete
 
 
-