Package org.keycloak.services.x509
Class DefaultClientCertificateLookup
- java.lang.Object
-
- org.keycloak.services.x509.DefaultClientCertificateLookup
-
- All Implemented Interfaces:
Provider
,X509ClientCertificateLookup
public class DefaultClientCertificateLookup extends Object implements X509ClientCertificateLookup
The provider retrieves a client certificate and the certificate chain (if any) from the incoming TLS connection.- Since:
- 3/26/2017
- Version:
- $Revision: 1 $
- Author:
- Peter Nalyvayko
-
-
Field Summary
Fields Modifier and Type Field Description static String
JAVAX_SERVLET_REQUEST_X509_CERTIFICATE
-
Constructor Summary
Constructors Constructor Description DefaultClientCertificateLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
X509Certificate[]
getCertificateChain(org.jboss.resteasy.spi.HttpRequest httpRequest)
Returns a client certificate, and optionally any certificates in the certificate chain.
-
-
-
Field Detail
-
JAVAX_SERVLET_REQUEST_X509_CERTIFICATE
public static final String JAVAX_SERVLET_REQUEST_X509_CERTIFICATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCertificateChain
public X509Certificate[] getCertificateChain(org.jboss.resteasy.spi.HttpRequest httpRequest)
Description copied from interface:X509ClientCertificateLookup
Returns a client certificate, and optionally any certificates in the certificate chain.- Specified by:
getCertificateChain
in interfaceX509ClientCertificateLookup
- Returns:
-
-