ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
public interface ConfigurationPropertyMBean extends ConfigurationMBean
Encapsulates information about a property, such as its value and whether it is encrypted.
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getEncryptedValue() |
Specifies the decrypted value of the property.
|
byte[] |
getEncryptedValueEncrypted() |
Get the encrytped bytes from EncryptedValue attribute
|
java.lang.String |
getValue() |
Specifies the value of the property.
|
boolean |
isEncryptValueRequired() |
Specifies whether the property should be encrypted.
|
void |
setEncryptedValue(java.lang.String value) |
Sets the value of the EncryptedValue attribute.
|
void |
setEncryptValueRequired(boolean encryptValueRequired) |
Sets the value of the EncryptValueRequired attribute.
|
void |
setValue(java.lang.String value) |
Sets the value of the Value attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
boolean isEncryptValueRequired()
Specifies whether the property should be encrypted.
By default, the value of a property is not encrypted and anyone using the Administration Console can view the value of the property. If this attribute is set to true, then the value of the property on the Administration Console will be set to all asterisks.
void setEncryptValueRequired(boolean encryptValueRequired)
Sets the value of the EncryptValueRequired attribute.
encryptValueRequired
- java.lang.String getValue()
Specifies the value of the property.
If the property is encrypted, then attribute is null and one should use the EncryptedValue attribute to get the decrypted value.
void setValue(java.lang.String value)
Sets the value of the Value attribute.
value
- java.lang.String getEncryptedValue()
Specifies the decrypted value of the property.
Note: In release 10.3.1 of WebLogic Server, the behavior of the MBean encryption algorithm changed. In previous releases, if the newly set value was identical to the existing value, the encrypted value did not change. That is, you would always get the same encrypted value for a given password The action was not treated as a (non-dynamic) change. The behavior has been modified so that use of the setter on any existing encrypted value is considered to be a (dynamic) change, regardless of whether the new value matches the old value. Therefore, even if you set the password to the existing value, the setter now generates a different encrypted value for the given password.
Use this attribute if you have specified that property should be encrypted.
void setEncryptedValue(java.lang.String value)
Sets the value of the EncryptedValue attribute.
byte[] getEncryptedValueEncrypted()
Get the encrytped bytes from EncryptedValue attribute