Package io.trino.plugin.password.ldap
Class LdapAuthenticatorClient
java.lang.Object
io.trino.plugin.password.ldap.LdapAuthenticatorClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisGroupMember(String searchBase, String groupSearch, String contextUserDistinguishedName, String contextPassword) lookupUserDistinguishedNames(String searchBase, String searchFilter, String contextUserDistinguishedName, String contextPassword) voidvalidatePassword(String userDistinguishedName, String password)
-
Constructor Details
-
LdapAuthenticatorClient
-
-
Method Details
-
validatePassword
- Throws:
NamingException
-
isGroupMember
public boolean isGroupMember(String searchBase, String groupSearch, String contextUserDistinguishedName, String contextPassword) throws NamingException - Throws:
NamingException
-
lookupUserDistinguishedNames
public Set<String> lookupUserDistinguishedNames(String searchBase, String searchFilter, String contextUserDistinguishedName, String contextPassword) throws NamingException - Throws:
NamingException
-