BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface SecurityConfigurationMBean


public interface SecurityConfigurationMBean
extends ConfigurationMBean

Provides domain-wide security configuration information.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static java.lang.String REALM_BOOTSTRAP_VERSION_1
          Description of the Field
static java.lang.String REALM_BOOTSTRAP_VERSION_CURRENT
          Description of the Field
static java.lang.String REALM_BOOTSTRAP_VERSION_UNKNOWN
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 RealmMBean findDefaultRealm()
          Finds the default security realm.
 RealmMBean findRealm(java.lang.String realmName)
          Finds the default realm by name (that is, by the display name of the realm).
 RealmMBean[] findRealms()
          Finds all configured realms.
 java.lang.String getRealmBootStrapVersion()
          Specifies which version of the default security realm mbeans should be loaded if none exist.
 void setCredential(java.lang.String credential)
          Sets the credential attribute of the SecurityConfigurationMBean object
 void setCredentialGenerated(boolean disable)
          Sets the credentialGenerated attribute of the SecurityConfigurationMBean object
 void setRealmBootStrapVersion(java.lang.String version)
          Sets the realmBootStrapVersion attribute of the SecurityConfigurationMBean object
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

REALM_BOOTSTRAP_VERSION_UNKNOWN

public static final java.lang.String REALM_BOOTSTRAP_VERSION_UNKNOWN
Description of the Field

REALM_BOOTSTRAP_VERSION_1

public static final java.lang.String REALM_BOOTSTRAP_VERSION_1
Description of the Field

REALM_BOOTSTRAP_VERSION_CURRENT

public static final java.lang.String REALM_BOOTSTRAP_VERSION_CURRENT
Description of the Field
Method Detail

findRealms

public RealmMBean[] findRealms()
Finds all configured realms.

Returns:
Description of the Return Value

findDefaultRealm

public RealmMBean findDefaultRealm()
Finds the default security realm. Returns null if a security realm is not defined. Throws a configuration error if there are multiple matches.

Returns:
Description of the Return Value

findRealm

public RealmMBean findRealm(java.lang.String realmName)
Finds the default realm by name (that is, by the display name of the realm). Returns null if a security realm is not define. Throws a configuration error if there are multiple matches.

Parameters:
realmName - Description of the Parameter
Returns:
Description of the Return Value

setCredentialGenerated

public void setCredentialGenerated(boolean disable)
Sets the credentialGenerated attribute of the SecurityConfigurationMBean object

Parameters:
disable - The new credentialGenerated value

setCredential

public void setCredential(java.lang.String credential)
                   throws javax.management.InvalidAttributeValueException
Sets the credential attribute of the SecurityConfigurationMBean object

Parameters:
credential - The new credential value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getRealmBootStrapVersion

public java.lang.String getRealmBootStrapVersion()
Specifies which version of the default security realm mbeans should be loaded if none exist. Gets set to current version on first read if it hasn't been set already.

A configurable MBean attribute
Default Value: REALM_BOOTSTRAP_VERSION_UNKNOWN
Legal Values: REALM_BOOTSTRAP_VERSION_UNKNOWN, REALM_BOOTSTRAP_VERSION_1
Returns:
The realmBootStrapVersion value

setRealmBootStrapVersion

public void setRealmBootStrapVersion(java.lang.String version)
Sets the realmBootStrapVersion attribute of the SecurityConfigurationMBean object

Parameters:
version - The new realmBootStrapVersion value

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b