mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
28.01.2007 d3a10338d643cf04e89e577ba496c547e0bf7516
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
@@ -2653,5 +2653,22 @@
    return connectionHandler.getTrustManagerProviderDN();
  }
  /**
   * Retrieves the alias of the server certificate that should be used
   * for operations requiring a server certificate.  The default
   * implementation returns {@code null} to indicate that any alias is
   * acceptable.
   *
   * @return  The alias of the server certificate that should be used
   *          for operations requring a server certificate, or
   *          {@code null} if any alias is acceptable.
   */
  public String getCertificateAlias()
  {
    return connectionHandler.getSSLServerCertNickname();
  }
}