Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.

Since:
9.0.0.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getEncryptedValue()
          Specifies the decrypted value of the property.
abstract  byte[] getEncryptedValueEncrypted()
          Get the encrytped bytes from EncryptedValue attribute
abstract  String getValue()
          Specifies the value of the property.
abstract  boolean isEncryptValueRequired()
          Specifies whether the property should be encrypted.
abstract  void setEncryptedValue(String value)
          Sets the value of the EncryptedValue attribute.
abstract  void setEncryptValueRequired(boolean encryptValueRequired)
          Sets the value of the EncryptValueRequired attribute.
abstract  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

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

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

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09