Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.configuration
Interface ConfigurationPropertyMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface ConfigurationPropertyMBean
extends ConfigurationMBean

Encapsulates information about a property, such as its value and whether it is encrypted.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getEncryptedValue()
          Specifies the decrypted value of the property.
 byte[] getEncryptedValueEncrypted()
          Get the encrytped bytes from EncryptedValue attribute
 String getValue()
          Specifies the value of the property.
 boolean isEncryptValueRequired()
          Specifies whether the property should be encrypted.
 void setEncryptedValue(String value)
          Sets the value of the EncryptedValue attribute.
 void setEncryptValueRequired(boolean encryptValueRequired)
          Sets the value of the EncryptValueRequired attribute.
 void setValue(String value)
          Sets the value of the Value attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Method Detail

isEncryptValueRequired

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.

Returns:
if property value needs to be encrypted
Default Value:
false

setEncryptValueRequired

void setEncryptValueRequired(boolean encryptValueRequired)

Sets the value of the EncryptValueRequired attribute.

Parameters:
encryptValueRequired -

getValue

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.

Returns:
property value
Default Value:
""

setValue

void setValue(String value)

Sets the value of the Value attribute.

Parameters:
value -

getEncryptedValue

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.

Returns:
the encrypted property value
Default Value:
""

setEncryptedValue

void setEncryptedValue(String value)

Sets the value of the EncryptedValue attribute.


getEncryptedValueEncrypted

byte[] getEncryptedValueEncrypted()

Get the encrytped bytes from EncryptedValue attribute

Returns:
encrytped byte array

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02