public class HttpStatusServerAccessDeniedHandler extends java.lang.Object implements ServerAccessDeniedHandler
| Constructor and Description |
|---|
HttpStatusServerAccessDeniedHandler(org.springframework.http.HttpStatus httpStatus)
Creates an instance with the provided status
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
handle(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.security.access.AccessDeniedException e) |
public HttpStatusServerAccessDeniedHandler(org.springframework.http.HttpStatus httpStatus)
httpStatus - the status to usepublic reactor.core.publisher.Mono<java.lang.Void> handle(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.security.access.AccessDeniedException e)
handle in interface ServerAccessDeniedHandler