JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.authentication
Class GetenvAuthenticator

java.lang.Object
  |
  +--org.objectweb.jac.aspects.authentication.GetenvAuthenticator
All Implemented Interfaces:
Authenticator

public class GetenvAuthenticator
extends Object
implements Authenticator

This Authenticator gets the username from an envrionnement variable.


Constructor Summary
GetenvAuthenticator(String variableName)
           
 
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

GetenvAuthenticator

public GetenvAuthenticator(String variableName)
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.
AuthenticationFailedException

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli