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.FFDCSelfIntrospectablepublic java.lang.String toTraceString()
toTraceString in interface com.ibm.ejs.ras.Traceablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic char[] getChars()
public boolean isEmpty()