public interface ServerSecurityContextRepository
SecurityContext
between requests.ReactorContextWebFilter
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<SecurityContext> |
load(org.springframework.web.server.ServerWebExchange exchange)
Loads the SecurityContext associated with the
ServerWebExchange |
reactor.core.publisher.Mono<java.lang.Void> |
save(org.springframework.web.server.ServerWebExchange exchange,
SecurityContext context)
Saves the SecurityContext
|
reactor.core.publisher.Mono<java.lang.Void> save(org.springframework.web.server.ServerWebExchange exchange, SecurityContext context)
exchange
- the exchange to associate to the SecurityContextcontext
- the SecurityContext to savereactor.core.publisher.Mono<SecurityContext> load(org.springframework.web.server.ServerWebExchange exchange)
ServerWebExchange
exchange
- the exchange to look up the SecurityContext
SecurityContext
to lookup or empty if not found. Never null