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
-
-
Constructor Summary
Constructors Constructor Description DefaultClientCertificateLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
X509Certificate[]
getCertificateChain(HttpRequest httpRequest)
Returns a client certificate, and optionally any certificates in the certificate chain.
-
-
-
Method Detail
-
getCertificateChain
public X509Certificate[] getCertificateChain(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:
-
-