public abstract class HazelcastPrincipal extends Object implements Principal, com.hazelcast.nio.serialization.IdentifiedDataSerializable
| Constructor and Description |
|---|
HazelcastPrincipal() |
HazelcastPrincipal(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getFactoryId()
Returns
SecurityDataSerializerHook.F_ID. |
String |
getName() |
int |
hashCode() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public HazelcastPrincipal()
public HazelcastPrincipal(String name)
public int getFactoryId()
SecurityDataSerializerHook.F_ID. May be overriden by subclasses.getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic int hashCode()
public boolean equals(Object obj)
Copyright © 2022 Hazelcast, Inc.. All rights reserved.