Class LdapClientTrustStoreManager

java.lang.Object
org.apache.directory.ldap.client.api.LdapClientTrustStoreManager
All Implemented Interfaces:
Serializable, TrustManager, X509TrustManager

public final class LdapClientTrustStoreManager extends Object implements X509TrustManager, Serializable
Implement the X509TrustManager interface which will be used during JSSE truststore manager initialisation for LDAP client-to-server communications over TLS/SSL. It is used during certificate validation operations within JSSE. Note: This class allows self-signed certificates to pass the validation checks.
Author:
Apache Directory Project
See Also:
  • Constructor Details

    • LdapClientTrustStoreManager

      public LdapClientTrustStoreManager(String trustStoreFile, char[] trustStorePw, String trustStoreFormat, boolean isExamineValidity)
      Constructor used by connection configuration utility to load trust store manager.
      Parameters:
      trustStoreFile - contains name of trust store file.
      trustStorePw - contains the password for trust store
      trustStoreFormat - contains the format for trust store
      isExamineValidity - boolean var determines if certificate will be examined for valid dates on load.
  • Method Details