public abstract class AuthenticationBaseMessageTask<P> extends AbstractMultiTargetMessageTask<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() |
Collection<Member> |
getTargets() |
protected boolean |
isAuthenticationMessage() |
protected abstract boolean |
isOwnerConnection() |
void |
processMessage() |
protected Object |
reduce(Map<Member,Object> map) |
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 Supplier<Operation> createOperationSupplier()
createOperationSupplier
in class AbstractMultiTargetMessageTask<P>
protected Object reduce(Map<Member,Object> map) throws Throwable
reduce
in class AbstractMultiTargetMessageTask<P>
Throwable
public Collection<Member> getTargets()
getTargets
in class AbstractMultiTargetMessageTask<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 AbstractMultiTargetMessageTask<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.