Package io.trino.plugin.base.ldap
Class JdkLdapClient
java.lang.Object
io.trino.plugin.base.ldap.JdkLdapClient
- All Implemented Interfaces:
LdapClient
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.plugin.base.ldap.LdapClient
LdapClient.LdapContextProcessor<T>, LdapClient.LdapSearchResultProcessor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TexecuteLdapQuery(String userName, String password, LdapQuery ldapQuery, LdapClient.LdapSearchResultProcessor<T> resultProcessor) <T> TprocessLdapContext(String userName, String password, LdapClient.LdapContextProcessor<T> contextProcessor)
-
Constructor Details
-
JdkLdapClient
-
-
Method Details
-
processLdapContext
public <T> T processLdapContext(String userName, String password, LdapClient.LdapContextProcessor<T> contextProcessor) throws NamingException - Specified by:
processLdapContextin interfaceLdapClient- Throws:
NamingException
-
executeLdapQuery
public <T> T executeLdapQuery(String userName, String password, LdapQuery ldapQuery, LdapClient.LdapSearchResultProcessor<T> resultProcessor) throws NamingException - Specified by:
executeLdapQueryin interfaceLdapClient- Throws:
NamingException
-