Class ReactorContextWebFilter
- java.lang.Object
-
- org.springframework.security.web.server.context.ReactorContextWebFilter
-
- All Implemented Interfaces:
org.springframework.web.server.WebFilter
public class ReactorContextWebFilter extends java.lang.Object implements org.springframework.web.server.WebFilter
Uses aServerSecurityContextRepository
to provide theSecurityContext
to initialize theReactiveSecurityContextHolder
.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description ReactorContextWebFilter(ServerSecurityContextRepository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
-
-
-
Constructor Detail
-
ReactorContextWebFilter
public ReactorContextWebFilter(ServerSecurityContextRepository repository)
-
-