Class ServerX509AuthenticationConverter
- java.lang.Object
-
- org.springframework.security.web.server.authentication.ServerX509AuthenticationConverter
-
- All Implemented Interfaces:
ServerAuthenticationConverter
public class ServerX509AuthenticationConverter extends java.lang.Object implements ServerAuthenticationConverter
Converts from aSslInfoprovided by a request to anPreAuthenticatedAuthenticationTokenthat can be authenticated.- Since:
- 5.2
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Loglogger
-
Constructor Summary
Constructors Constructor Description ServerX509AuthenticationConverter(X509PrincipalExtractor principalExtractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>convert(org.springframework.web.server.ServerWebExchange exchange)Converts aServerWebExchangeto anAuthentication
-
-
-
Constructor Detail
-
ServerX509AuthenticationConverter
public ServerX509AuthenticationConverter(@NonNull X509PrincipalExtractor principalExtractor)
-
-
Method Detail
-
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
-
-