org.objectweb.jac.aspects.authentication
Class TrustingAuthentication

java.lang.Object
  |
  +--org.objectweb.jac.aspects.authentication.TrustingAuthentication

public class TrustingAuthentication
extends Object

This class performs a trusting authentication.

It is used by the authentication wrapper.

See Also:
AuthenticationWrapper

Constructor Summary
TrustingAuthentication()
          Creates a new trusting authentication.
 
Method Summary
 void authenticate(String userName)
          Performs the authentication of the user given by username.
 void authenticateWithPassword(String userName, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustingAuthentication

public TrustingAuthentication()
Creates a new trusting authentication.

Method Detail

authenticate

public void authenticate(String userName)
Performs the authentication of the user given by username.

Parameters:
userName - the name of the user to authenticate

authenticateWithPassword

public void authenticateWithPassword(String userName,
                                     String password)