public abstract class AuthenticationBaseMessageTask<P> extends AbstractCallableMessageTask<P>
| Modifier and Type | Field and Description |
|---|---|
protected byte |
clientSerializationVersion |
protected String |
clientVersion |
protected Credentials |
credentials |
protected ClientPrincipal |
principal |
clientEngine, clientMessage, clientUuid, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService| Constructor and Description |
|---|
AuthenticationBaseMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
protected abstract ClientMessage |
encodeAuth(byte status,
Address thisAddress,
String uuid,
String ownerUuid,
byte serializationVersion,
List<Member> cleanedUpMembers) |
protected abstract String |
getClientType() |
protected ClientEndpoint |
getEndpoint() |
Permission |
getRequiredPermission() |
protected boolean |
isAuthenticationMessage() |
protected abstract boolean |
isOwnerConnection() |
protected void |
setEndpoint() |
processMessagedecodeClientMessage, encodeResponse, getClientVersion, getDistributedObjectName, getDistributedObjectType, getMethodName, getParameters, getPartitionId, getService, getServiceName, handleProcessingFailure, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponseprotected transient ClientPrincipal principal
protected transient Credentials credentials
protected transient byte clientSerializationVersion
protected transient String clientVersion
public AuthenticationBaseMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected void setEndpoint()
protected ClientEndpoint getEndpoint()
getEndpoint in class AbstractMessageTask<P>protected boolean isAuthenticationMessage()
isAuthenticationMessage in class AbstractMessageTask<P>public Object call()
call in class AbstractCallableMessageTask<P>protected abstract ClientMessage encodeAuth(byte status, Address thisAddress, String uuid, String ownerUuid, byte serializationVersion, List<Member> cleanedUpMembers)
protected abstract boolean isOwnerConnection()
protected abstract String getClientType()
public Permission getRequiredPermission()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.