Package org.apache.hadoop.hbase.security
Class NettyHBaseSaslRpcClient
java.lang.Object
org.apache.hadoop.hbase.security.AbstractHBaseSaslRpcClient
org.apache.hadoop.hbase.security.NettyHBaseSaslRpcClient
Implement SASL logic for netty rpc client.
- Since:
- 2.0.0
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.security.AbstractHBaseSaslRpcClient
fallbackAllowed, saslClient, saslProps
-
Constructor Summary
ConstructorDescriptionNettyHBaseSaslRpcClient
(org.apache.hadoop.conf.Configuration conf, SaslClientAuthenticationProvider provider, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token, InetAddress serverAddr, String serverPrincipal, boolean fallbackAllowed, String rpcProtection) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setupSaslHandler
(org.apache.hbase.thirdparty.io.netty.channel.ChannelPipeline p, String addAfter) Methods inherited from class org.apache.hadoop.hbase.security.AbstractHBaseSaslRpcClient
dispose, evaluateChallenge, getInitialResponse, isComplete
-
Field Details
-
LOG
-
-
Constructor Details
-
NettyHBaseSaslRpcClient
public NettyHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf, SaslClientAuthenticationProvider provider, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token, InetAddress serverAddr, String serverPrincipal, boolean fallbackAllowed, String rpcProtection) throws IOException - Throws:
IOException
-
-
Method Details
-
setupSaslHandler
public void setupSaslHandler(org.apache.hbase.thirdparty.io.netty.channel.ChannelPipeline p, String addAfter) -
getSaslQOP
-