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 SummaryFields Modifier and Type Field Description protected static StringTRUST_PROXY_VERIFICATIONprotected booleantrustProxyVerification- 
Fields inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactoryCERTIFICATE_CHAIN_LENGTH, certificateChainLength, HTTP_HEADER_CERT_CHAIN_PREFIX, HTTP_HEADER_CLIENT_CERT, sslChainHttpHeaderPrefix, sslClientCertHttpHeader
 
- 
 - 
Constructor SummaryConstructors Constructor Description NginxProxySslClientCertificateLookupFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description X509ClientCertificateLookupcreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.- 
Methods inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactoryclose, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Field Detail- 
TRUST_PROXY_VERIFICATIONprotected static final String TRUST_PROXY_VERIFICATION - See Also:
- Constant Field Values
 
 - 
trustProxyVerificationprotected boolean trustProxyVerification 
 
- 
 - 
Method Detail- 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<X509ClientCertificateLookup>
- Overrides:
- initin class- AbstractClientCertificateFromHttpHeadersLookupFactory
 
 - 
createpublic X509ClientCertificateLookup create(KeycloakSession session) 
 - 
getIdpublic String getId() 
 
- 
 
-