public class LDAPConnection extends Object implements LDAPInterface
| Constructor and Description |
|---|
LDAPConnection(String host,
int port) |
LDAPConnection(String host,
int port,
String dn,
String password) |
| Modifier and Type | Method and Description |
|---|---|
SearchResult |
search(String baseDN,
SearchScope scope,
DereferencePolicy derefPolicy,
int sizeLimit,
int timeLimit,
boolean typesOnly,
String filter,
String... attributes) |
SearchResult |
search(String s,
SearchScope sub,
String filter,
String... attributes) |
SearchResultEntry |
searchForEntry(String baseDN,
SearchScope scope,
DereferencePolicy derefPolicy,
int timeLimit,
boolean typesOnly,
String filter,
String... attributes) |
SearchResultEntry |
searchForEntry(String baseDN,
SearchScope scope,
String filter,
String... attributes) |
public LDAPConnection(String host, int port)
public LDAPConnection(String host, int port, String dn, String password) throws LDAPException
LDAPExceptionpublic SearchResult search(String baseDN, SearchScope scope, DereferencePolicy derefPolicy, int sizeLimit, int timeLimit, boolean typesOnly, String filter, String... attributes)
search in interface LDAPInterfacepublic SearchResult search(String s, SearchScope sub, String filter, String... attributes)
search in interface LDAPInterfacepublic SearchResultEntry searchForEntry(String baseDN, SearchScope scope, DereferencePolicy derefPolicy, int timeLimit, boolean typesOnly, String filter, String... attributes)
searchForEntry in interface LDAPInterfacepublic SearchResultEntry searchForEntry(String baseDN, SearchScope scope, String filter, String... attributes)
searchForEntry in interface LDAPInterfaceCopyright © 2022. All rights reserved.