Package org.keycloak.services.x509
Class DefaultClientCertificateLookup
- java.lang.Object
-
- org.keycloak.services.x509.DefaultClientCertificateLookup
-
- All Implemented Interfaces:
org.keycloak.provider.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 StringJAVAX_SERVLET_REQUEST_X509_CERTIFICATE
-
Constructor Summary
Constructors Constructor Description DefaultClientCertificateLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()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
-
close
public void close()
- Specified by:
closein interfaceorg.keycloak.provider.Provider
-
getCertificateChain
public X509Certificate[] getCertificateChain(org.jboss.resteasy.spi.HttpRequest httpRequest)
Description copied from interface:X509ClientCertificateLookupReturns a client certificate, and optionally any certificates in the certificate chain.- Specified by:
getCertificateChainin interfaceX509ClientCertificateLookup- Returns:
-
-