Package com.hazelcast.security
Class HazelcastPrincipal
java.lang.Object
com.hazelcast.security.HazelcastPrincipal
- All Implemented Interfaces:
com.hazelcast.nio.serialization.DataSerializable
,com.hazelcast.nio.serialization.IdentifiedDataSerializable
,Serializable
,Principal
- Direct Known Subclasses:
ClusterEndpointPrincipal
,ClusterIdentityPrincipal
,ClusterRolePrincipal
public abstract class HazelcastPrincipal
extends Object
implements Principal, com.hazelcast.nio.serialization.IdentifiedDataSerializable, Serializable
- See Also:
-
Constructor Details
-
HazelcastPrincipal
public HazelcastPrincipal() -
HazelcastPrincipal
-
-
Method Details
-
getName
-
getFactoryId
public int getFactoryId()ReturnsSecurityDataSerializerHook.F_ID
. May be overriden by subclasses.- Specified by:
getFactoryId
in interfacecom.hazelcast.nio.serialization.IdentifiedDataSerializable
-
writeData
- Specified by:
writeData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
readData
- Specified by:
readData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-