|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.service.user.jaas.UserRegistry
A simple user registry for the flat-file Urd user login. This class parses an XML file and keeps a record of all users.
This class checks changes in the underlying file and caches users as long as the file is not changed.
| Method Summary | |
static UserRegistry |
getInstance(java.io.File file)
Get a registry instance. |
java.security.Principal |
getUser(java.lang.String name,
Indirection ind)
Get a user principal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static UserRegistry getInstance(java.io.File file)
public java.security.Principal getUser(java.lang.String name,
Indirection ind)
throws NoSuchUserException,
AuthenticationFailedException
name - User name
AuthenticationFailedException - If the pass is wrong
NoSuchUserException - If the user does not exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||