|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.security.AbstractCredentials
public abstract class AbstractCredentials
Abstract implementation of Credentials
| Constructor Summary | |
|---|---|
AbstractCredentials()
|
|
AbstractCredentials(String principal)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getEndpoint()
Returns IP address of endpoint. |
String |
getPrincipal()
Returns principal of endpoint. |
int |
hashCode()
|
void |
readPortable(PortableReader reader)
Read portable fields using PortableReader |
protected abstract void |
readPortableInternal(PortableReader reader)
|
void |
setEndpoint(String endpoint)
Sets IP address of endpoint. |
void |
setPrincipal(String principal)
|
void |
writePortable(PortableWriter writer)
Serialize this portable object using PortableWriter |
protected abstract void |
writePortableInternal(PortableWriter writer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hazelcast.nio.serialization.Portable |
|---|
getClassId, getFactoryId |
| Constructor Detail |
|---|
public AbstractCredentials()
public AbstractCredentials(String principal)
| Method Detail |
|---|
public final String getEndpoint()
Credentials
getEndpoint in interface Credentialspublic final void setEndpoint(String endpoint)
Credentials
setEndpoint in interface Credentialsendpoint - IP address of endpointpublic String getPrincipal()
Credentials
getPrincipal in interface Credentialspublic void setPrincipal(String principal)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
public final void writePortable(PortableWriter writer)
throws IOException
Portable
writePortable in interface Portablewriter - PortableWriter
IOException
public final void readPortable(PortableReader reader)
throws IOException
Portable
readPortable in interface Portablereader - PortableReader
IOException
protected abstract void writePortableInternal(PortableWriter writer)
throws IOException
IOException
protected abstract void readPortableInternal(PortableReader reader)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||