Class ServerX509AuthenticationConverter
java.lang.Object
org.springframework.security.web.server.authentication.ServerX509AuthenticationConverter
- All Implemented Interfaces:
ServerAuthenticationConverter
public class ServerX509AuthenticationConverter
extends Object
implements ServerAuthenticationConverter
Converts from a
SslInfo provided by a request to an
PreAuthenticatedAuthenticationToken that can be authenticated.- Since:
- 5.2
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerX509AuthenticationConverter(X509PrincipalExtractor principalExtractor) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>convert(org.springframework.web.server.ServerWebExchange exchange) Converts aServerWebExchangeto anAuthentication
-
Field Details
-
logger
protected final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
ServerX509AuthenticationConverter
-
-
Method Details
-
convert
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerAuthenticationConverterConverts aServerWebExchangeto anAuthentication- Specified by:
convertin interfaceServerAuthenticationConverter- Parameters:
exchange- TheServerWebExchange- Returns:
- A
Monorepresenting anAuthentication
-