Package javaforce
Class LDAP
java.lang.Object
javaforce.LDAP
-
Field Details
-
lastException
-
-
Constructor Details
-
LDAP
public LDAP()
-
-
Method Details
-
login
Logins into a LDAP Server. Returns DirContext if successful (null otherwise). -
close
public void close() -
getAttributes
Returns user object attributes.- Parameters:
domain- = domain as dn (distinguished name) (ie: DC=example,DC=com)key- = search key (ie: SAMAccountName=bob mail=bob@example.com)attrs- = list of attributes to read- Returns:
- attributes in order of attrs
-
build_dn
-
getLastException
-