|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwinstone.realm.FileRealm
public class FileRealm
Constructor Summary | |
---|---|
FileRealm(java.util.Set rolesAllowed,
java.util.Map args)
Constructor - this sets up an authentication realm, using the file supplied on the command line as a source of userNames/passwords/roles. |
Method Summary | |
---|---|
AuthenticationPrincipal |
authenticateByUsernamePassword(java.lang.String userName,
java.lang.String password)
Authenticate the user - do we know them ? Return a principal once we know them |
AuthenticationPrincipal |
retrieveUser(java.lang.String userName)
Retrieve an authenticated user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileRealm(java.util.Set rolesAllowed, java.util.Map args)
Method Detail |
---|
public AuthenticationPrincipal authenticateByUsernamePassword(java.lang.String userName, java.lang.String password)
authenticateByUsernamePassword
in interface AuthenticationRealm
public AuthenticationPrincipal retrieveUser(java.lang.String userName)
retrieveUser
in interface AuthenticationRealm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |