org.objectweb.jac.aspects.authentication
Class SystemAuthenticator
java.lang.Object
|
+--org.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemAuthenticator
public SystemAuthenticator()
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.
AuthenticationFailedException