Java EE 5 SDK

com.sun.appserv.management.config
Interface AuthRealmConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface AuthRealmConfig
extends PropertiesAccess, NamedConfigElement

Configuration for the <auth-realm> element.


Field Summary
static String DEFAULT_REALM_CLASSNAME
          Classname of the default implementing class.
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
static String JAAS_CONTEXT_PROPERTY_KEY
           
static String KEY_FILE_PREFIX
          When using DEFAULT_REALM_CLASSNAME implementation, append a file name to this prefix and specify it via KEY_FILE_PROPERTY_KEY.
static String KEY_FILE_PROPERTY_KEY
           
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 void addUser(String user, String password, String[] groupList)
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 String getClassname()
           
 String[] getGroupNames()
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 String[] getUserGroupNames(String user)
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 String[] getUserNames()
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 void removeUser(String user)
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 void setClassname(String value)
           
 void updateUser(String user, String password, String[] groupList)
          Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values

DEFAULT_REALM_CLASSNAME

static final String DEFAULT_REALM_CLASSNAME
Classname of the default implementing class.

See Also:
Constant Field Values

KEY_FILE_PROPERTY_KEY

static final String KEY_FILE_PROPERTY_KEY
See Also:
Constant Field Values

JAAS_CONTEXT_PROPERTY_KEY

static final String JAAS_CONTEXT_PROPERTY_KEY
See Also:
Constant Field Values

KEY_FILE_PREFIX

static final String KEY_FILE_PREFIX
When using DEFAULT_REALM_CLASSNAME implementation, append a file name to this prefix and specify it via KEY_FILE_PROPERTY_KEY.

See Also:
Constant Field Values
Method Detail

getClassname

String getClassname()

setClassname

void setClassname(String value)

addUser

void addUser(String user,
             String password,
             String[] groupList)
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


getGroupNames

String[] getGroupNames()
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


getUserGroupNames

String[] getUserGroupNames(String user)
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


getUserNames

String[] getUserNames()
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


removeUser

void removeUser(String user)
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


updateUser

void updateUser(String user,
                String password,
                String[] groupList)
Supported only for the default implementation (DEFAULT_REALM_CLASSNAME).


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.