public abstract class AuthenticationBaseMessageTask<P> extends AbstractStableClusterMessageTask<P>
Modifier and Type | Field and Description |
---|---|
protected byte |
clientSerializationVersion |
protected String |
clientVersion |
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 |
---|---|
protected Supplier<Operation> |
createOperationSupplier() |
protected abstract ClientMessage |
encodeAuth(byte status,
Address thisAddress,
String uuid,
String ownerUuid,
byte serializationVersion,
List<Member> cleanedUpMembers) |
protected abstract String |
getClientType() |
protected ClientEndpointImpl |
getEndpoint() |
Permission |
getRequiredPermission() |
protected boolean |
isAuthenticationMessage() |
protected abstract boolean |
isOwnerConnection() |
void |
processMessage() |
protected Object |
resolve(Object response) |
onFailure, onResponse
decodeClientMessage, encodeResponse, getClientVersion, getDistributedObjectName, getDistributedObjectType, getMemberBuildInfo, getMethodName, getParameters, getPartitionId, getService, getServiceName, handleProcessingFailure, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
protected transient ClientPrincipal principal
protected transient Credentials credentials
protected transient byte clientSerializationVersion
protected transient String clientVersion
public AuthenticationBaseMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected Object resolve(Object response)
resolve
in class AbstractStableClusterMessageTask<P>
protected ClientEndpointImpl getEndpoint()
getEndpoint
in class AbstractMessageTask<P>
protected boolean isAuthenticationMessage()
isAuthenticationMessage
in class AbstractMessageTask<P>
public void processMessage() throws Throwable
processMessage
in class AbstractStableClusterMessageTask<P>
Throwable
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 © 2018 Hazelcast, Inc.. All Rights Reserved.