/** * Returns a list of all the hostnames including their scheme and port in this ldap url. * * @return ldap url hostnames with scheme and port */ public String[] getHostnamesWithSchemeAndPort() { final String[] entries = new String[ldapEntries.size()]; for (int i = 0; i < ldapEntries.size(); i++) { entries[i] = ldapEntries.get(i).getHostnameWithSchemeAndPort(); } return entries; }
/** * Returns a list of all the hostnames including their scheme and port in this ldap url. * * @return ldap url hostnames with scheme and port */ public String[] getHostnamesWithSchemeAndPort() { final String[] entries = new String[ldapEntries.size()]; for (int i = 0; i < ldapEntries.size(); i++) { entries[i] = ldapEntries.get(i).getHostnameWithSchemeAndPort(); } return entries; }
/** * Returns a list of all the hostnames including their scheme and port in this ldap url. * * @return ldap url hostnames with scheme and port */ public String[] getHostnamesWithSchemeAndPort() { final String[] entries = new String[ldapEntries.size()]; for (int i = 0; i < ldapEntries.size(); i++) { entries[i] = ldapEntries.get(i).getHostnameWithSchemeAndPort(); } return entries; }
ldapUrl.getEntry().getHostnameWithSchemeAndPort()); try (Connection referralConn = cf.getConnection()) { referralConn.open();
ldapUrl.getEntry().getHostnameWithSchemeAndPort()); try (Connection referralConn = cf.getConnection()) { referralConn.open();
ldapUrl.getEntry().getHostnameWithSchemeAndPort()); try (Connection referralConn = cf.getConnection()) { referralConn.open();
hostnamesWithSchemeAndPort[i] = entries[i].getHostnameWithSchemeAndPort();