| | |
| | | if (Utils.isCertificateException(ne)) |
| | | { |
| | | String usedUrl = ConnectionUtils.getLDAPUrl(host1, port1, useSSL1); |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl)) |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl, |
| | | getTrustManager())) |
| | | { |
| | | cancelled = true; |
| | | } |
| | |
| | | if (Utils.isCertificateException(ne)) |
| | | { |
| | | String usedUrl = ConnectionUtils.getLDAPUrl(host2, port2, useSSL2); |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl)) |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl, |
| | | getTrustManager())) |
| | | { |
| | | cancelled = true; |
| | | } |
| | |
| | | if (Utils.isCertificateException(ne)) |
| | | { |
| | | String usedUrl = ConnectionUtils.getLDAPUrl(host, port, useSSL); |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl)) |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl, |
| | | getTrustManager())) |
| | | { |
| | | cancelled = true; |
| | | } |
| | |
| | | { |
| | | String usedUrl = ConnectionUtils.getLDAPUrl(hostSource, portSource, |
| | | useSSLSource); |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl)) |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl, |
| | | getTrustManager())) |
| | | { |
| | | cancelled = true; |
| | | } |
| | |
| | | { |
| | | String usedUrl = ConnectionUtils.getLDAPUrl(hostDestination, |
| | | portDestination, useSSLDestination); |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl)) |
| | | if (!promptForCertificateConfirmation(ne, getTrustManager(), usedUrl, |
| | | getTrustManager())) |
| | | { |
| | | cancelled = true; |
| | | } |
| | |
| | | { |
| | | reloadTopology = true; |
| | | cancelled = !promptForCertificateConfirmation(e.getCause(), |
| | | getTrustManager(), e.getLdapUrl()); |
| | | e.getTrustManager(), e.getLdapUrl(), e.getTrustManager()); |
| | | } |
| | | else |
| | | { |