| com.methodhead.auth.AuthUser
All known Subclasses: com.methodhead.reg.User, com.methodhead.test.TestUser,
AuthUser | public interface AuthUser (Code) | | AuthUser defines the minimal functionality a user object must implement to
be logged in by AuthAction
|
Method Summary | |
public boolean | authenticate(String password) Returns true if password is the user's password. | public String | getLogin() Returns the user's login. | public String | getPublicSecret() Returns a value known only to the user, like a password, but encrypted
such that it may exist in public view (e.g., in a cookie). | public boolean | loadForLogin(String login) Loads the user for the specified login, returning true if the
user is successfully loaded, or false if the user could not be
loaded. |
authenticate | public boolean authenticate(String password)(Code) | | Returns true if password is the user's password.
|
getLogin | public String getLogin()(Code) | | Returns the user's login.
|
getPublicSecret | public String getPublicSecret()(Code) | | Returns a value known only to the user, like a password, but encrypted
such that it may exist in public view (e.g., in a cookie).
|
loadForLogin | public boolean loadForLogin(String login) throws AuthException(Code) | | Loads the user for the specified login, returning true if the
user is successfully loaded, or false if the user could not be
loaded. An AuthException is thrown if an error occurred while
loading the user.
|
|
|