|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.common.LdapAuthentication
public class LdapAuthentication
Very simple LDAP authentication
| Constructor Summary | |
|---|---|
LdapAuthentication(String baseUrl,
String baseDn)
Creates an LDAP authenticator for the specified server and base DN, using the default identifier attribute "uid" |
|
LdapAuthentication(String baseUrl,
String baseDn,
String idAttr)
Creates an LDAP authenticator for the specified server, base DN and identifier attribute |
|
| Method Summary | |
|---|---|
boolean |
authenticate(String username,
String password)
Attempts to authenticate user credentials with the LDAP server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapAuthentication(String baseUrl,
String baseDn)
baseUrl - LDAP server URLbaseDn - LDAP base DN
public LdapAuthentication(String baseUrl,
String baseDn,
String idAttr)
baseUrl - LDAP server URLbaseDn - LDAP base DNidAttr - LDAP user identifier attribute| Method Detail |
|---|
public boolean authenticate(String username,
String password)
username - a usernamepassword - a password
true if authentication was successful,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||