org.objectweb.jac.aspects.authentication
Class SystemAuthenticator

java.lang.Object
  extended byorg.objectweb.jac.aspects.authentication.SystemAuthenticator
All Implemented Interfaces:
Authenticator

public class SystemAuthenticator
extends Object
implements Authenticator

This Authenticator gets the username from the "user.name" property.


Constructor Summary
SystemAuthenticator()
           
 
Method Summary
 String authenticate()
          Authenticates the current user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemAuthenticator

public SystemAuthenticator()
Method Detail

authenticate

public String authenticate()
                    throws AuthenticationFailedException
Description copied from interface: Authenticator
Authenticates the current user.

Specified by:
authenticate in interface Authenticator
Returns:
the username of the user.
Throws:
AuthenticationFailedException