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 aServerSecurityContextRepositoryto provide theSecurityContextto initialize theReactiveSecurityContextHolder.Overrides theServerWebExchange.getPrincipal()with the provided SecurityContextOverride theServerWebExchange.getPrincipal()to be looked up usingReactiveSecurityContextHolder.Strategy used for persisting aSecurityContextbetween requests.Stores theSecurityContextin theWebSession.