public abstract class AuthenticationBaseMessageTask<P> extends AbstractCallableMessageTask<P>
Modifier and Type | Field and Description |
---|---|
protected byte |
clientSerializationVersion |
protected Credentials |
credentials |
protected ClientPrincipal |
principal |
clientEngine, clientMessage, 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) |
protected abstract String |
getClientType() |
protected ClientEndpointImpl |
getEndpoint() |
Permission |
getRequiredPermission() |
protected boolean |
isAuthenticationMessage() |
protected abstract boolean |
isOwnerConnection() |
processMessage
decodeClientMessage, encodeResponse, getDistributedObjectName, getDistributedObjectType, getMethodName, getParameters, getPartitionId, getService, getServiceName, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
protected transient ClientPrincipal principal
protected transient Credentials credentials
protected transient byte clientSerializationVersion
public AuthenticationBaseMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected ClientEndpointImpl 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)
protected abstract boolean isOwnerConnection()
protected abstract String getClientType()
public Permission getRequiredPermission()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.