public class ServerX509AuthenticationConverter extends java.lang.Object implements ServerAuthenticationConverter
SslInfo
provided by a request to an PreAuthenticatedAuthenticationToken
that can be authenticated.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
ServerX509AuthenticationConverter(X509PrincipalExtractor principalExtractor) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
convert(org.springframework.web.server.ServerWebExchange exchange)
Converts a
ServerWebExchange to an Authentication |
public ServerX509AuthenticationConverter(@NonNull X509PrincipalExtractor principalExtractor)
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
ServerAuthenticationConverter
ServerWebExchange
to an Authentication
convert
in interface ServerAuthenticationConverter
exchange
- The ServerWebExchange
Mono
representing an Authentication