com.hazelcast.client.impl.protocol.task
public abstract class AuthenticationBaseMessageTask<P> extends AbstractCallableMessageTask<P>
Modifier and Type | Field and Description |
---|---|
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(Address thisAddress,
String uuid,
String ownerUuid) |
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
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(Address thisAddress, String uuid, String ownerUuid)
protected abstract boolean isOwnerConnection()
public Permission getRequiredPermission()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.