FileDocCategorySizeDatePackage
AuthRealmConfig.javaAPI DocGlassfish v2 API4086Fri May 04 22:30:32 BST 2007com.sun.appserv.management.config

AuthRealmConfig

public interface AuthRealmConfig implements PropertiesAccess, NamedConfigElement
Configuration for the <auth-realm> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
public static final String
DEFAULT_REALM_CLASSNAME
Classname of the default implementing class.
public static final String
KEY_FILE_PROPERTY_KEY
public static final String
JAAS_CONTEXT_PROPERTY_KEY
public static final String
KEY_FILE_PREFIX
When using {@link #DEFAULT_REALM_CLASSNAME} implementation, append a file name to this prefix and specify it via {@link #KEY_FILE_PROPERTY_KEY}.
Constructors Summary
Methods Summary
public voidaddUser(java.lang.String user, java.lang.String password, java.lang.String[] groupList)
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).

public java.lang.StringgetClassname()

public java.lang.String[]getGroupNames()
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).

public java.lang.String[]getUserGroupNames(java.lang.String user)
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).

public java.lang.String[]getUserNames()
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).

public voidremoveUser(java.lang.String user)
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).

public voidsetClassname(java.lang.String value)

public voidupdateUser(java.lang.String user, java.lang.String password, java.lang.String[] groupList)
Supported only for the default implementation ({@link #DEFAULT_REALM_CLASSNAME}).