Class ServerAuthenticationHandler<S extends ServerConnection<S>,T extends com.google.protobuf.Internal.EnumLite>
java.lang.Object
org.apache.drill.exec.rpc.security.ServerAuthenticationHandler<S,T>
- Type Parameters:
S- Server connection typeT- RPC type
- All Implemented Interfaces:
RequestHandler<S>
public class ServerAuthenticationHandler<S extends ServerConnection<S>,T extends com.google.protobuf.Internal.EnumLite>
extends Object
implements RequestHandler<S>
Handles SASL exchange, on the server-side.
-
Constructor Summary
ConstructorsConstructorDescriptionServerAuthenticationHandler(RequestHandler<S> requestHandler, int saslRequestTypeValue, T saslResponseType) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(S connection, int rpcType, ByteBuf pBody, ByteBuf dBody, ResponseSender sender)
-
Constructor Details
-
ServerAuthenticationHandler
public ServerAuthenticationHandler(RequestHandler<S> requestHandler, int saslRequestTypeValue, T saslResponseType)
-
-
Method Details
-
handle
public void handle(S connection, int rpcType, ByteBuf pBody, ByteBuf dBody, ResponseSender sender) throws RpcException - Specified by:
handlein interfaceRequestHandler<S extends ServerConnection<S>>- Throws:
RpcException
-