| java.lang.Object winstone.realm.ArgumentsRealm
ArgumentsRealm | public class ArgumentsRealm implements AuthenticationRealm(Code) | | Base class for authentication realms. Subclasses provide the source of
authentication roles, usernames, passwords, etc, and when asked for
validation respond with a role if valid, or null otherwise.
author: mailto: Rick Knowles version: $Id: ArgumentsRealm.java,v 1.4 2007/06/01 15:55:41 rickknowles Exp $ |
Constructor Summary | |
public | ArgumentsRealm(Set rolesAllowed, Map args) Constructor - this sets up an authentication realm, using the arguments
supplied on the command line as a source of userNames/passwords/roles. |
ArgumentsRealm | public ArgumentsRealm(Set rolesAllowed, Map args)(Code) | | Constructor - this sets up an authentication realm, using the arguments
supplied on the command line as a source of userNames/passwords/roles.
|
authenticateByUsernamePassword | public AuthenticationPrincipal authenticateByUsernamePassword(String userName, String password)(Code) | | Authenticate the user - do we know them ? Return a principal once we know
them
|
|
|