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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustingAuthentication
public TrustingAuthentication()
- Creates a new trusting authentication.
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)