Class DelegatingServerAuthenticationEntryPoint
java.lang.Object
org.springframework.security.web.server.DelegatingServerAuthenticationEntryPoint
- All Implemented Interfaces:
 ServerAuthenticationEntryPoint
public class DelegatingServerAuthenticationEntryPoint
extends Object
implements ServerAuthenticationEntryPoint
A 
ServerAuthenticationEntryPoint which delegates to multiple
 ServerAuthenticationEntryPoint based on a ServerWebExchangeMatcher- Since:
 - 5.0
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class - 
Constructor Summary
ConstructorsConstructorDescriptionDelegatingServerAuthenticationEntryPoint(List<DelegatingServerAuthenticationEntryPoint.DelegateEntry> entryPoints) DelegatingServerAuthenticationEntryPoint(DelegatingServerAuthenticationEntryPoint.DelegateEntry... entryPoints)  - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex) Initiates the authentication flowvoidsetDefaultEntryPoint(ServerAuthenticationEntryPoint defaultEntryPoint) EntryPoint which is used when no RequestMatcher returned true 
- 
Constructor Details
- 
DelegatingServerAuthenticationEntryPoint
public DelegatingServerAuthenticationEntryPoint(DelegatingServerAuthenticationEntryPoint.DelegateEntry... entryPoints)  - 
DelegatingServerAuthenticationEntryPoint
public DelegatingServerAuthenticationEntryPoint(List<DelegatingServerAuthenticationEntryPoint.DelegateEntry> entryPoints)  
 - 
 - 
Method Details
- 
commence
public reactor.core.publisher.Mono<Void> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex) Description copied from interface:ServerAuthenticationEntryPointInitiates the authentication flow- Specified by:
 commencein interfaceServerAuthenticationEntryPoint- Returns:
 Mono<Void>to indicate when the request for authentication is complete
 - 
setDefaultEntryPoint
EntryPoint which is used when no RequestMatcher returned true 
 -