package jas2.jds.security;
/**
* This is the abstract AccessManager class
* Any concrete AccessManager must extend this class and provide
* public static void main(String args[]) function that will be used to
* instansiate and configure the concrete class from the JAS configuration
* file information
*/
public abstract class AccessManager
{
protected AccessManager()
{
_theAccessManager = this;
}
static public AccessManager getInstance()
{
return _theAccessManager;
}
public abstract boolean checkAccess(String user, String host) throws PasswordRequiredException;
public abstract boolean checkAccess(String user, String host, Object password) throws PasswordRequiredException;
private static AccessManager _theAccessManager;
}
Ads help maintain this website.