|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.pof.PofHelper
com.tangosol.io.pof.PofPrincipal
public class PofPrincipal
Generic Principal implementation that can be used to represent the identity of any remote entity.
PrincipalPofSerializer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.io.pof.PofHelper |
---|
PofHelper.ReadableEntrySetMap, PofHelper.WriteableEntrySetMap |
Field Summary | |
---|---|
protected java.lang.String |
m_sName The name of the identity represented by this Principal. |
Fields inherited from class com.tangosol.io.pof.PofHelper |
---|
BIGDECIMAL_ZERO, BIGINTEGER_MAX_LONG, BIGINTEGER_MIN_LONG, BINARY_EMPTY, BOOLEAN_ARRAY_EMPTY, BYTE_ARRAY_EMPTY, CHAR_ARRAY_EMPTY, COLLECTION_EMPTY, DOUBLE_ARRAY_EMPTY, FLOAT_ARRAY_EMPTY, INT_ARRAY_EMPTY, LONG_ARRAY_EMPTY, OBJECT_ARRAY_EMPTY, SHORT_ARRAY_EMPTY |
Constructor Summary | |
---|---|
PofPrincipal(java.lang.String sName) Create a new PortablePrincipal with the given name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Compares this Principal to the specified object. |
java.lang.String |
getName() Return the name of this Principal. |
int |
hashCode() Return a hashcode for this Principal. |
java.lang.String |
toString() Return a string representation of this Principal. |
Field Detail |
---|
protected java.lang.String m_sName
Constructor Detail |
---|
public PofPrincipal(java.lang.String sName)
sName
- the name of the identity represented by this PortablePrincipalMethod Detail |
---|
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object o)
equals
in interface java.security.Principal
o
- a Principal to compare withpublic java.lang.String toString()
toString
in interface java.security.Principal
public int hashCode()
hashCode
in interface java.security.Principal
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |