Class LdapCatalog
java.lang.Object
org.gridgain.internal.security.ldap.LdapCatalog
Ldap catalog accessor.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LdapCatalog
Constructor.- Parameters:
url- Ldap server url.user- Principal user.password- Principal password.- Throws:
NamingException- in case when failed to connect to Ldap catalog.
-
-
Method Details
-
search
public List<Map<String,List<String>>> search(String dn, String filter, ScopeType scope, String... attributes) throws NamingException Searches request for Ldap catalog.- Parameters:
dn- Distinguished name.filter- Search filter.scope- Search scope type.attributes- Searchable attributes.- Returns:
- List of founded entries with attributes map.
- Throws:
NamingException- in case when search request failed.
-
close
- Throws:
NamingException
-