|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.net.ldap.LdapDirectory
public class LdapDirectory
The LDAP directory.
This static class provides utility methods to communicate with the NU LDAP directory servers.
Constructor Summary | |
---|---|
protected |
LdapDirectory()
Don't allow instantiation but do allow overrides. |
Method Summary | |
---|---|
static boolean |
authenticateNetid(java.lang.String ldapURL,
java.lang.String ldapPrincipal,
java.lang.String netid,
java.lang.String password)
Validate a username/password pair using an LDAP directory. |
static java.util.Map |
getInfoForNetid(java.lang.String ldapURL,
java.lang.String ldapPrincipal,
java.lang.String netid)
Gets the LDAP directory information for a netid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LdapDirectory()
Method Detail |
---|
public static boolean authenticateNetid(java.lang.String ldapURL, java.lang.String ldapPrincipal, java.lang.String netid, java.lang.String password)
ldapURL
- The LDAP service URL.ldapPrincipal
- The LDAP principal string.netid
- The netid.password
- The password.
public static java.util.Map getInfoForNetid(java.lang.String ldapURL, java.lang.String ldapPrincipal, java.lang.String netid) throws LdapException
ldapURL
- The LDAP service URL.ldapPrincipal
- The LDAP principal string.netid
- The netid.
LdapException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |