|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityRealm
Represents a security realm with some basic operations.
| Method Summary | |
|---|---|
void |
changePassword(java.lang.String username,
java.lang.String password)
Changes a user's password. |
void |
createUser(PebbleUserDetails pud)
Creates a new user. |
PebbleUserDetails |
getUser(java.lang.String username)
Looks up and returns user details for the given username. |
java.util.Collection<PebbleUserDetails> |
getUsers()
Looks up and returns a collection of all users. |
void |
removeUser(java.lang.String username)
Removes user details for the given username. |
void |
updateUser(PebbleUserDetails pud)
Updates user details, except for the password |
| Method Detail |
|---|
java.util.Collection<PebbleUserDetails> getUsers()
throws SecurityRealmException
SecurityRealmException
PebbleUserDetails getUser(java.lang.String username)
throws SecurityRealmException
username - the username to find details for
SecurityRealmException
void createUser(PebbleUserDetails pud)
throws SecurityRealmException
pud - a PebbleUserDetails instance
SecurityRealmException
void updateUser(PebbleUserDetails pud)
throws SecurityRealmException
pud - a PebbleUserDetails instance
SecurityRealmException
void changePassword(java.lang.String username,
java.lang.String password)
throws SecurityRealmException
username - the username of the userpassword - the new password
SecurityRealmException
void removeUser(java.lang.String username)
throws SecurityRealmException
username - the username of the user to remove
SecurityRealmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||