|
||||||||||
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(String uid,
String password)
Looks up the user by the UID attribute. |
void |
changePassword(String uid,
String password)
Updates the password for the specified user. |
char[] |
getPassword(String uid)
|
Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapReadOnlyPrincipalDao |
---|
lookupByUid |
Method Detail |
---|
void changePassword(String uid, String password) throws org.apache.jetspeed.security.SecurityException
Updates the password for the specified user.
uid
- The uid.password
- The password.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.boolean authenticate(String uid, String password) throws org.apache.jetspeed.security.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.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.char[] getPassword(String uid) throws org.apache.jetspeed.security.SecurityException
uid
- The uid.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.@throws SecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |