public class ExceptionTranslationWebFilter
extends java.lang.Object
implements org.springframework.web.server.WebFilter
| Constructor and Description |
|---|
ExceptionTranslationWebFilter() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
void |
setAccessDeniedHandler(ServerAccessDeniedHandler accessDeniedHandler)
Sets the access denied handler.
|
void |
setAuthenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint)
Sets the authentication entry point used when authentication is required
|
public reactor.core.publisher.Mono<java.lang.Void> filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
filter in interface org.springframework.web.server.WebFilterpublic void setAccessDeniedHandler(ServerAccessDeniedHandler accessDeniedHandler)
accessDeniedHandler - the access denied handler to use. Default is
HttpStatusAccessDeniedHandler with HttpStatus.FORBIDDENpublic void setAuthenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint)
authenticationEntryPoint - the authentication entry point to use. Default is
HttpBasicServerAuthenticationEntryPoint