|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LdapUserCredentialDao
User credential dao.
Method Summary | |
---|---|
boolean |
authenticate(java.lang.String uid,
java.lang.String password)
Looks up the user by the UID attribute. |
void |
changePassword(java.lang.String uid,
java.lang.String password)
Updates the password for the specified user. |
char[] |
getPassword(java.lang.String uid)
|
Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapReadOnlyPrincipalDao |
---|
lookupByUid |
Method Detail |
---|
void changePassword(java.lang.String uid, java.lang.String password) throws SecurityException
Updates the password for the specified user.
uid
- The uid.password
- The password.
SecurityException
- A SecurityException
.boolean authenticate(java.lang.String uid, java.lang.String password) throws SecurityException
Looks up the user by the UID attribute. If this lookup succeeds, this method then attempts to authenticate the user using the password, throwing an AuthenticationException if the password is incorrect or an OperationNotSupportedException if the password is empty.
uid
- The uid.password
- The password.
SecurityException
- A SecurityException
.char[] getPassword(java.lang.String uid) throws SecurityException
uid
- The uid.
SecurityException
- A SecurityException
.@throws SecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |