Package org.keycloak.services.x509
Class NginxProxySslClientCertificateLookupFactory
java.lang.Object
org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
org.keycloak.services.x509.NginxProxySslClientCertificateLookupFactory
- All Implemented Interfaces:
ProviderFactory<X509ClientCertificateLookup>,X509ClientCertificateLookupFactory
public class NginxProxySslClientCertificateLookupFactory
extends AbstractClientCertificateFromHttpHeadersLookupFactory
The factory and the corresponding providers extract a client certificate
from a NGINX reverse proxy (TLS termination).
- Since:
- 10/09/2018
- Version:
- $Revision: 1 $
- Author:
- Arnault MICHEL
-
Field Summary
FieldsFields inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
CERTIFICATE_CHAIN_LENGTH, certificateChainLength, HTTP_HEADER_CERT_CHAIN_PREFIX, HTTP_HEADER_CLIENT_CERT, sslChainHttpHeaderPrefix, sslClientCertHttpHeader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.Methods inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
close, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
TRUST_PROXY_VERIFICATION
- See Also:
-
trustProxyVerification
protected boolean trustProxyVerification
-
-
Constructor Details
-
NginxProxySslClientCertificateLookupFactory
public NginxProxySslClientCertificateLookupFactory()
-
-
Method Details
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<X509ClientCertificateLookup>- Overrides:
initin classAbstractClientCertificateFromHttpHeadersLookupFactory
-
create
-
getId
-