public class HttpStatusServerEntryPoint extends java.lang.Object implements ServerAuthenticationEntryPoint
ServerAuthenticationEntryPoint that sends a generic HttpStatus as a
response. Useful for JavaScript clients which cannot use Basic authentication since the
browser intercepts the response.| Constructor and Description |
|---|
HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
commence(org.springframework.web.server.ServerWebExchange exchange,
AuthenticationException authException)
Initiates the authentication flow
|
public HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus)
public reactor.core.publisher.Mono<java.lang.Void> commence(org.springframework.web.server.ServerWebExchange exchange,
AuthenticationException authException)
ServerAuthenticationEntryPointcommence in interface ServerAuthenticationEntryPointMono<Void> to indicate when the request for authentication is complete