public abstract class Authenticator
Version:
$Id: Authenticator.java,v 1.1 2004/12/19 23:55:29 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]
| Field Summary |
protected final static String |
|
protected final static String |
|
protected final static String |
|
protected final static String |
|
|
|
private final static String |
|
private final static Object |
|
private String |
|
protected Preferences |
|
private final static String |
|
| Constructor Summary |
protected |
|
| Method Summary |
public abstract boolean |
|
public abstract boolean |
|
public static void |
|
|
|
|
|
|
|
public abstract String |
|
public abstract String |
|
protected static boolean |
|
protected String |
|
protected Preferences |
|
public abstract String |
|
protected void |
|
APPLICATION_AUTHENTICATOR
protected final static String APPLICATION_AUTHENTICATOR = Config.APPLICATION + "/authenticator"
APPLICATION_AUTHENTICATOR_CLASS
protected final static String APPLICATION_AUTHENTICATOR_CLASS = APPLICATION_AUTHENTICATOR + "/@class"
APPLICATION_AUTHENTICATOR_CLASS_DEFAULT
protected final static String APPLICATION_AUTHENTICATOR_CLASS_DEFAULT = "net.jxta.myjxta.util.LDAPAuthenticator"
APPLICATION_AUTHENTICATOR_IS_VERBOSE
protected final static String APPLICATION_AUTHENTICATOR_IS_VERBOSE = APPLICATION_AUTHENTICATOR + "/@isVerbose"
private final static String CLASS_RULE = "class"
private final static Object LOCK = new Object()
private String name = null
protected Preferences prefs = null
private final static String VERBOSE_RULE = "verbose"
protected Authenticator()
public abstract boolean authenticate(String credentials)
public abstract boolean authenticate(String principal, String credentials)
public static void configure()
Throws:
IllegalArgumentException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
IllegalArgumentException
Throws:
IllegalStateException
Throws:
IllegalStateException
public abstract String getId()
public abstract String getId(String principal)
protected static boolean getIsVerbose()
protected String getName()
protected Preferences getPreferences()
public abstract String getPrincipal()
Throws:
IllegalArgumentException