Class DelegatingServerAuthenticationConverter
java.lang.Object
org.springframework.security.web.server.authentication.DelegatingServerAuthenticationConverter
- All Implemented Interfaces:
ServerAuthenticationConverter
public final class DelegatingServerAuthenticationConverter
extends Object
implements ServerAuthenticationConverter
A
ServerAuthenticationConverter
that delegates to other
ServerAuthenticationConverter
instances.- Since:
- 6.3
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
convert
(org.springframework.web.server.ServerWebExchange exchange) Converts aServerWebExchange
to anAuthentication
void
setContinueOnError
(boolean continueOnError) Continue iterating when a delegate errors, defaults totrue
-
Constructor Details
-
DelegatingServerAuthenticationConverter
-
DelegatingServerAuthenticationConverter
-
-
Method Details
-
convert
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerAuthenticationConverter
Converts aServerWebExchange
to anAuthentication
- Specified by:
convert
in interfaceServerAuthenticationConverter
- Parameters:
exchange
- TheServerWebExchange
- Returns:
- A
Mono
representing anAuthentication
-
setContinueOnError
public void setContinueOnError(boolean continueOnError) Continue iterating when a delegate errors, defaults totrue
- Parameters:
continueOnError
- whether to continue when a delegate errors- Since:
- 6.3
-