Class SecurityContextServerWebExchange
java.lang.Object
org.springframework.web.server.ServerWebExchangeDecorator
org.springframework.security.web.server.context.SecurityContextServerWebExchange
- All Implemented Interfaces:
 org.springframework.web.server.ServerWebExchange
public class SecurityContextServerWebExchange
extends org.springframework.web.server.ServerWebExchangeDecorator
Overrides the 
ServerWebExchange.getPrincipal() with the provided
 SecurityContext- Since:
 - 5.0
 - See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.web.server.ServerWebExchange
org.springframework.web.server.ServerWebExchange.Builder - 
Field Summary
Fields inherited from interface org.springframework.web.server.ServerWebExchange
LOG_ID_ATTRIBUTE - 
Constructor Summary
ConstructorsConstructorDescriptionSecurityContextServerWebExchange(org.springframework.web.server.ServerWebExchange delegate, reactor.core.publisher.Mono<SecurityContext> context)  - 
Method Summary
Methods inherited from class org.springframework.web.server.ServerWebExchangeDecorator
addUrlTransformer, checkNotModified, checkNotModified, checkNotModified, cleanupMultipart, getApplicationContext, getAttributes, getDelegate, getFormData, getLocaleContext, getLogPrefix, getMultipartData, getRequest, getResponse, getSession, isNotModified, toString, transformUrlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.web.server.ServerWebExchange
getAttribute, getAttributeOrDefault, getRequiredAttribute, mutate 
- 
Constructor Details
- 
SecurityContextServerWebExchange
public SecurityContextServerWebExchange(org.springframework.web.server.ServerWebExchange delegate, reactor.core.publisher.Mono<SecurityContext> context)  
 - 
 - 
Method Details
- 
getPrincipal
- Specified by:
 getPrincipalin interfaceorg.springframework.web.server.ServerWebExchange- Overrides:
 getPrincipalin classorg.springframework.web.server.ServerWebExchangeDecorator
 
 -