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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException) Initiates the authentication flow 
- 
Constructor Details
- 
HttpStatusServerEntryPoint
public HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus)  
 - 
 - 
Method Details
- 
commence
public 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 interfaceServerAuthenticationEntryPoint- Returns:
 Mono<Void>to indicate when the request for authentication is complete
 
 -