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 aSslInfo
provided by a request to anPreAuthenticatedAuthenticationToken
that can be authenticated.- Since:
- 5.2
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
logger
-
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 aServerWebExchange
to 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:ServerAuthenticationConverter
Converts aServerWebExchange
to anAuthentication
- Specified by:
convert
in interfaceServerAuthenticationConverter
- Parameters:
exchange
- TheServerWebExchange
- Returns:
- A
Mono
representing anAuthentication
-
-