@InterfaceAudience.Private public class HBaseSaslRpcClient extends AbstractHBaseSaslRpcClient
org.apache.hadoop.securityfallbackAllowed, saslClient, saslProps| Constructor and Description |
|---|
HBaseSaslRpcClient(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 servicePrincipal,
boolean fallbackAllowed) |
HBaseSaslRpcClient(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 servicePrincipal,
boolean fallbackAllowed,
String rpcProtection,
boolean initStreamForCrypto) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get a SASL wrapped InputStream.
|
OutputStream |
getOutputStream()
Get a SASL wrapped OutputStream.
|
String |
getSaslQOP() |
void |
initCryptoCipher(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta cryptoCipherMeta,
org.apache.hadoop.conf.Configuration conf) |
boolean |
saslConnect(InputStream inS,
OutputStream outS)
Do client side SASL authentication with server via the given InputStream and OutputStream
|
dispose, evaluateChallenge, getInitialResponse, isComplete, verifyNegotiatedQoppublic HBaseSaslRpcClient(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 servicePrincipal,
boolean fallbackAllowed)
throws IOException
IOExceptionpublic HBaseSaslRpcClient(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 servicePrincipal,
boolean fallbackAllowed,
String rpcProtection,
boolean initStreamForCrypto)
throws IOException
IOExceptionpublic boolean saslConnect(InputStream inS, OutputStream outS) throws IOException
inS - InputStream to useoutS - OutputStream to useIOExceptionpublic String getSaslQOP()
public void initCryptoCipher(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta cryptoCipherMeta, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionpublic OutputStream getOutputStream() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.