public class DelegatingServerAuthenticationEntryPoint extends java.lang.Object implements ServerAuthenticationEntryPoint
ServerAuthenticationEntryPoint
which delegates to multiple ServerAuthenticationEntryPoint
based
on a ServerWebExchangeMatcher
Modifier and Type | Class and Description |
---|---|
static class |
DelegatingServerAuthenticationEntryPoint.DelegateEntry |
Constructor and Description |
---|
DelegatingServerAuthenticationEntryPoint(DelegatingServerAuthenticationEntryPoint.DelegateEntry... entryPoints) |
DelegatingServerAuthenticationEntryPoint(java.util.List<DelegatingServerAuthenticationEntryPoint.DelegateEntry> entryPoints) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
commence(org.springframework.web.server.ServerWebExchange exchange,
AuthenticationException e)
Initiates the authentication flow
|
void |
setDefaultEntryPoint(ServerAuthenticationEntryPoint defaultEntryPoint)
EntryPoint which is used when no RequestMatcher returned true
|
public DelegatingServerAuthenticationEntryPoint(DelegatingServerAuthenticationEntryPoint.DelegateEntry... entryPoints)
public DelegatingServerAuthenticationEntryPoint(java.util.List<DelegatingServerAuthenticationEntryPoint.DelegateEntry> entryPoints)
public reactor.core.publisher.Mono<java.lang.Void> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException e)
ServerAuthenticationEntryPoint
commence
in interface ServerAuthenticationEntryPoint
Mono<Void>
to indicate when the request for authentication is completepublic void setDefaultEntryPoint(ServerAuthenticationEntryPoint defaultEntryPoint)