Package org.springframework.security.web.server.context
@NullMarked
package org.springframework.security.web.server.context
Reactive web context APIs.
-
ClassDescriptionA do nothing implementation of
ServerSecurityContextRepository
.Uses aServerSecurityContextRepository
to provide theSecurityContext
to initialize theReactiveSecurityContextHolder
.Overrides theServerWebExchange.getPrincipal()
with the provided SecurityContextOverride theServerWebExchange.getPrincipal()
to be looked up usingReactiveSecurityContextHolder
.Strategy used for persisting aSecurityContext
between requests.Stores theSecurityContext
in theWebSession
.