net.spy.aaa
Class SimpleAuthUser
java.lang.Object
net.spy.aaa.SimpleAuthUser
- All Implemented Interfaces:
- AuthUser
- public class SimpleAuthUser
- extends Object
- implements AuthUser
A simple implementation of AuthUser for that contains its own hashed
password and can deal with checking it.
|
Method Summary |
void |
checkPassword(String password)
Check the hashed password against the stored password. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAuthUser
public SimpleAuthUser(String hp)
- Get an instance of SimpleAuthUser.
- Parameters:
hp - the hashed password for this user
checkPassword
public void checkPassword(String password)
throws AuthException
- Check the hashed password against the stored password.
- Specified by:
checkPassword in interface AuthUser
- Throws:
AuthException