/** * Obtains the list of the LDAP servers in the order we should talk to, given how this {@link * ActiveDirectoryUnixAuthenticationProvider} is configured. */ private List<SocketInfo> obtainLDAPServers(String domainName) throws AuthenticationServiceException { try { return descriptor.obtainLDAPServer(domainName, site, server); } catch (NamingException e) { LOGGER.log(Level.WARNING, "Failed to find the LDAP service", e); throw new AuthenticationServiceException( "Failed to find the LDAP service for the domain " + domainName, e); } }