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.diagnostics.descriptor
Interface WLDFEncryptedPropertyBean

All Superinterfaces:
WLDFBean, WLDFConfigurationPropertyBean

public interface WLDFEncryptedPropertyBean
extends WLDFConfigurationPropertyBean

Represents an encrypted configuration property

Since:
12.2.1.0.0

Method Summary
abstract  String getEncryptedValue()
           Returns the decrypted value of the property.
abstract  byte[] getEncryptedValueEncrypted()
          Get the encrypted bytes of the Value attribute

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

getEncryptedValue

String getEncryptedValue()

Returns the decrypted value of the property.

When you get the value of this attribute, WebLogic Server does the following:

  1. Retrieves the value of the ValueEncrypted attribute.
  2. Decrypts the value and returns the unencrypted password as a String.

When you set the value of this attribute, WebLogic Server does the following:

  1. Encrypts the value.
  2. Sets the value of the ValueEncrypted attribute to the encrypted value.

Using this attribute is a potential security risk because the String object (which contains the unencrypted password) remains in the JVM's memory until garbage collection removes it and the memory is reallocated. Depending on how memory is allocated in the JVM, a significant amount of time could pass before this unencrypted data is removed from memory.

Returns:
the encrypted property value

getEncryptedValueEncrypted

byte[] getEncryptedValueEncrypted()

Get the encrypted bytes of the Value attribute

Returns:
encrypted 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