net.spy.aaa
Class SimpleAuthUser

java.lang.Object
  extended bynet.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.


Constructor Summary
SimpleAuthUser(String hp)
          Get an instance of SimpleAuthUser.
 
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
 

Constructor Detail

SimpleAuthUser

public SimpleAuthUser(String hp)
Get an instance of SimpleAuthUser.

Parameters:
hp - the hashed password for this user
Method Detail

checkPassword

public void checkPassword(String password)
                   throws AuthException
Check the hashed password against the stored password.

Specified by:
checkPassword in interface AuthUser
Throws:
AuthException