net.spy.aaa
Class Authenticator

java.lang.Object
  extended bynet.spy.aaa.Authenticator

public abstract class Authenticator
extends Object

Perform the actual authentication and generate a ticket, used internally by the SpySecurityManager.


Constructor Summary
Authenticator()
          Get an instance of Authenticator.
 
Method Summary
 Token authUser(Authable a, String password)
          Get a Token for Authenticating a user.
abstract  AuthUser getUser(Authable a)
          Lookup a user by Authable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator

public Authenticator()
Get an instance of Authenticator.

Method Detail

getUser

public abstract AuthUser getUser(Authable a)
                          throws AuthException
Lookup a user by Authable.

Throws:
AuthException

authUser

public Token authUser(Authable a,
                      String password)
               throws AuthException
Get a Token for Authenticating a user.

Throws:
AuthException