|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.kernel.service.utils.SerializableProtectedString
public final class SerializableProtectedString
This class wraps an instance of ProtectedString. The behavior is the same as that of ProtectedString except that it can be serialized. This means that the value will be hidden from trace and FFDC, but will be persisted in the local config cache.
Field Summary | |
---|---|
static SerializableProtectedString |
EMPTY_PROTECTED_STRING
A password object that holds the equivalent of the empty string |
static SerializableProtectedString |
NULL_PROTECTED_STRING
A password object that holds null |
Constructor Summary | |
---|---|
SerializableProtectedString(char[] value)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
char[] |
getChars()
|
int |
hashCode()
|
java.lang.String[] |
introspectSelf()
|
boolean |
isEmpty()
Return true if password is either null or has no characters (use to test situations where some kind of password is required) |
java.lang.String |
toString()
|
java.lang.String |
toTraceString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SerializableProtectedString NULL_PROTECTED_STRING
public static final SerializableProtectedString EMPTY_PROTECTED_STRING
Constructor Detail |
---|
public SerializableProtectedString(char[] value)
Method Detail |
---|
public java.lang.String[] introspectSelf()
introspectSelf
in interface com.ibm.ws.ffdc.FFDCSelfIntrospectable
public java.lang.String toTraceString()
toTraceString
in interface com.ibm.ejs.ras.Traceable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public char[] getChars()
public boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |