Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.0.0)

E17486-01

oracle.adf.share.jndi
Class SecureRefAddr

java.lang.Object
  extended by javax.naming.RefAddr
      extended by oracle.adf.share.jndi.SecureRefAddr
All Implemented Interfaces:
java.io.Serializable

public class SecureRefAddr
extends javax.naming.RefAddr

Class reperesenting a secure reference address. The address content comprise of a property name and a value which are actually stored in the credential store. Instances of SecurerefAddr are always added as type "secure" in the reference.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.RefAddr
addrType
 
Constructor Summary
SecureRefAddr(java.lang.String propName, char[] propValue)
           
SecureRefAddr(java.lang.String propName, java.lang.String propValue)
           
 
Method Summary
 char[] getCharValue()
           
 java.lang.Object getContent()
          Deprecated. it will not return String anymore, instead, char[] for security purpose. Suggest to use getCharValue()
 java.lang.String getName()
           
 java.lang.String getValue()
          Deprecated. This method will be replaced by getCharValue() which returns char[] instead of String for security purpose.
 
Methods inherited from class javax.naming.RefAddr
equals, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecureRefAddr

public SecureRefAddr(java.lang.String propName,
                     java.lang.String propValue)

SecureRefAddr

public SecureRefAddr(java.lang.String propName,
                     char[] propValue)
Method Detail

getContent

public java.lang.Object getContent()
Deprecated. it will not return String anymore, instead, char[] for security purpose. Suggest to use getCharValue()

Returns the address value. Same as getValue()

Specified by:
getContent in class javax.naming.RefAddr
Returns:
the actual type is String

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()
Deprecated. This method will be replaced by getCharValue() which returns char[] instead of String for security purpose.

Returns:
String

getCharValue

public char[] getCharValue()

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.0.0)

E17486-01

Copyright © 1997, 2011, Oracle. All rights reserved.