org.aspsimon.termcomp.session
Class AuthenticatorAction

java.lang.Object
  extended by org.aspsimon.termcomp.session.AuthenticatorAction
All Implemented Interfaces:
Authenticator

@Name(value="authenticator")
public class AuthenticatorAction
extends java.lang.Object
implements Authenticator

This class checks to see if a user exists in the database, verifies the password. If all checks pass, the class outjects a User and an Identity object and adds the User's UserRoles to the Identity.

Version:
$Revision: 104 $
Author:
binabik
See Also:
Identity, User, UserRole

Constructor Summary
AuthenticatorAction()
           
 
Method Summary
 boolean authenticate()
          Checks the supplied user-name and password for validity.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorAction

public AuthenticatorAction()
Method Detail

authenticate

public boolean authenticate()
Checks the supplied user-name and password for validity.

Specified by:
authenticate in interface Authenticator
Returns:
A boolean value representing the status of the checks.