| | |
| | | configEntry.getConfigAttribute(certNameStub); |
| | | if (certNameAttr == null) |
| | | { |
| | | // This is fine -- we'll just use the default. |
| | | sslServerCertNickname = DEFAULT_SSL_CERT_NICKNAME; |
| | | // This is fine -- We'll just let the server pick one. |
| | | sslServerCertNickname = null; |
| | | } |
| | | else |
| | | { |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the nickname of the server certificate that should be used in |
| | | * conjunction with this LDAP connection handler. |
| | | * |
| | | * @return The nickname of the server certificate that should be used in |
| | | * conjunction with this LDAP connection handler. |
| | | */ |
| | | public String getSSLServerCertNickname() |
| | | { |
| | | return sslServerCertNickname; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the maximum ASN.1 element value length that will be allowed by |
| | | * this connection handler. |
| | | * |