@InterfaceAudience.Private public abstract class AbstractHBaseSaslRpcClient extends Object
org.apache.hadoop.security| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
fallbackAllowed  | 
protected SaslClient | 
saslClient  | 
protected Map<String,String> | 
saslProps  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
                          SaslClientAuthenticationProvider provider,
                          org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
                          InetAddress serverAddr,
                          SecurityInfo securityInfo,
                          boolean fallbackAllowed)
Create a HBaseSaslRpcClient for an authentication method 
 | 
protected  | 
AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
                          SaslClientAuthenticationProvider provider,
                          org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
                          InetAddress serverAddr,
                          SecurityInfo securityInfo,
                          boolean fallbackAllowed,
                          String rpcProtection)
Create a HBaseSaslRpcClient for an authentication method 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Release resources used by wrapped saslClient 
 | 
byte[] | 
evaluateChallenge(byte[] challenge)  | 
byte[] | 
getInitialResponse()
Computes the initial response a client sends to a server to begin the SASL challenge/response
 handshake. 
 | 
boolean | 
isComplete()  | 
protected final SaslClient saslClient
protected final boolean fallbackAllowed
protected AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
                                     SaslClientAuthenticationProvider provider,
                                     org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
                                     InetAddress serverAddr,
                                     SecurityInfo securityInfo,
                                     boolean fallbackAllowed)
                              throws IOException
conf - the configuration objectprovider - the authentication providertoken - token to use if needed by the authentication methodserverAddr - the address of the hbase servicesecurityInfo - the security details for the remote hbase servicefallbackAllowed - does the client allow fallback to simple authenticationIOExceptionprotected AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
                                     SaslClientAuthenticationProvider provider,
                                     org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
                                     InetAddress serverAddr,
                                     SecurityInfo securityInfo,
                                     boolean fallbackAllowed,
                                     String rpcProtection)
                              throws IOException
conf - configuration objectprovider - the authentication providertoken - token to use if needed by the authentication methodserverAddr - the address of the hbase servicesecurityInfo - the security details for the remote hbase servicefallbackAllowed - does the client allow fallback to simple authenticationrpcProtection - the protection level ("authentication", "integrity" or "privacy")IOExceptionpublic byte[] getInitialResponse()
                          throws SaslException
SaslExceptionpublic boolean isComplete()
public byte[] evaluateChallenge(byte[] challenge)
                         throws SaslException
SaslExceptionpublic void dispose()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.