public final class SerializableProtectedString
extends java.lang.Object
implements java.io.Serializable, com.ibm.ejs.ras.Traceable, com.ibm.ws.ffdc.FFDCSelfIntrospectable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SerializableProtectedString(char[] value) |
Modifier and Type | Method and Description |
---|---|
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() |
public static final SerializableProtectedString NULL_PROTECTED_STRING
public static final SerializableProtectedString EMPTY_PROTECTED_STRING
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()