Class X509ClientCertificateAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.X509ClientCertificateAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public final class X509ClientCertificateAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract a client
X509Certificate
chain from
HttpServletRequest
and then converts to an
OAuth2ClientAuthenticationToken
used for authenticating the client using the
tls_client_auth
or self_signed_tls_client_auth
method.- Since:
- 1.3
- See Also:
-
AuthenticationConverter
OAuth2ClientAuthenticationToken
OAuth2ClientAuthenticationFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
X509ClientCertificateAuthenticationConverter
public X509ClientCertificateAuthenticationConverter()
-
-
Method Details
-
convert
@Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request) - Specified by:
convert
in interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-