Package | Description |
---|---|
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.security |
Modifier and Type | Field and Description |
---|---|
private AuthMethod |
RpcClientImpl.Connection.authMethod |
(package private) AuthMethod |
AsyncRpcChannel.authMethod |
private AuthMethod |
RpcServer.Connection.authMethod |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation |
AsyncRpcChannel.buildUserInfo(org.apache.hadoop.security.UserGroupInformation ugi,
AuthMethod authMethod)
Build the user information
|
private void |
AsyncRpcChannel.createPreamble(io.netty.buffer.ByteBuf byteBuf,
AuthMethod authMethod)
Create connection preamble
|
Modifier and Type | Method and Description |
---|---|
static AuthMethod |
AuthMethod.read(DataInput in)
Read from in
|
static AuthMethod |
AuthMethod.valueOf(byte code)
Return the object represented by the code.
|
static AuthMethod |
AuthMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthMethod[] |
AuthMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
HBaseSaslRpcClient(AuthMethod method,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
String serverPrincipal,
boolean fallbackAllowed)
Create a HBaseSaslRpcClient for an authentication method
|
HBaseSaslRpcClient(AuthMethod method,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
String serverPrincipal,
boolean fallbackAllowed,
String rpcProtection)
Create a HBaseSaslRpcClient for an authentication method
|
SaslClientHandler(org.apache.hadoop.security.UserGroupInformation ticket,
AuthMethod method,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
String serverPrincipal,
boolean fallbackAllowed,
String rpcProtection,
SaslClientHandler.SaslExceptionHandler exceptionHandler,
SaslClientHandler.SaslSuccessfulConnectHandler successfulConnectHandler)
Constructor
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.