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 SummaryNested classes/interfaces inherited from interface org.springframework.web.server.ServerWebExchangeorg.springframework.web.server.ServerWebExchange.Builder
- 
Field SummaryFields inherited from interface org.springframework.web.server.ServerWebExchangeLOG_ID_ATTRIBUTE
- 
Constructor SummaryConstructorsConstructorDescriptionSecurityContextServerWebExchange(org.springframework.web.server.ServerWebExchange delegate, reactor.core.publisher.Mono<SecurityContext> context) 
- 
Method SummaryMethods inherited from class org.springframework.web.server.ServerWebExchangeDecoratoraddUrlTransformer, checkNotModified, checkNotModified, checkNotModified, cleanupMultipart, getApplicationContext, getAttributes, getDelegate, getFormData, getLocaleContext, getLogPrefix, getMultipartData, getRequest, getResponse, getSession, isNotModified, toString, transformUrlMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.web.server.ServerWebExchangegetAttribute, getAttributeOrDefault, getRequiredAttribute, mutate
- 
Constructor Details- 
SecurityContextServerWebExchangepublic SecurityContextServerWebExchange(org.springframework.web.server.ServerWebExchange delegate, reactor.core.publisher.Mono<SecurityContext> context) 
 
- 
- 
Method Details- 
getPrincipal- Specified by:
- getPrincipalin interface- org.springframework.web.server.ServerWebExchange
- Overrides:
- getPrincipalin class- org.springframework.web.server.ServerWebExchangeDecorator
 
 
-