@InterfaceAudience.Private public class DigestSaslClientAuthenticationProvider extends DigestSaslAuthenticationProvider implements SaslClientAuthenticationProvider
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DigestSaslClientAuthenticationProvider.DigestSaslClientCallbackHandler | 
SASL_AUTH_METHODAUTH_TOKEN_TYPE| Constructor and Description | 
|---|
| DigestSaslClientAuthenticationProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| SaslClient | createClient(org.apache.hadoop.conf.Configuration conf,
            InetAddress serverAddr,
            String serverPrincipal,
            org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
            boolean fallbackAllowed,
            Map<String,String> saslProps)Create the SASL client instance for this authentication method. | 
| org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation | getUserInfo(User user)Constructs a  RPCProtos.UserInformationfrom the givenUserGroupInformation | 
getSaslAuthMethodcreateSaslAuthMethod, getTokenKindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRetry, createClient, getRealUser, relogingetSaslAuthMethod, getTokenKindpublic DigestSaslClientAuthenticationProvider()
public SaslClient createClient(org.apache.hadoop.conf.Configuration conf, InetAddress serverAddr, String serverPrincipal, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token, boolean fallbackAllowed, Map<String,String> saslProps) throws IOException
SaslClientAuthenticationProvider
 The default implementation is create a fake SecurityInfo and call the above method, for
 keeping compatible with old customized authentication method
createClient in interface SaslClientAuthenticationProviderIOExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation getUserInfo(User user)
SaslClientAuthenticationProviderRPCProtos.UserInformation from the given UserGroupInformationgetUserInfo in interface SaslClientAuthenticationProviderCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.