@InterfaceAudience.Private public class DigestSaslClientAuthenticationProvider extends DigestSaslAuthenticationProvider implements SaslClientAuthenticationProvider
Modifier and Type | Class and Description |
---|---|
static class |
DigestSaslClientAuthenticationProvider.DigestSaslClientCallbackHandler |
SASL_AUTH_METHOD
AUTH_TOKEN_TYPE
Constructor and Description |
---|
DigestSaslClientAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
SaslClient |
createClient(org.apache.hadoop.conf.Configuration conf,
InetAddress serverAddr,
SecurityInfo securityInfo,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
boolean fallbackAllowed,
Map<String,String> saslProps)
Creates the SASL client instance for this auth'n method.
|
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation |
getUserInfo(User user)
Constructs a
RPCProtos.UserInformation from the given UserGroupInformation |
getSaslAuthMethod
getTokenKind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRetry, getRealUser, relogin
getSaslAuthMethod, getTokenKind
public DigestSaslClientAuthenticationProvider()
public SaslClient createClient(org.apache.hadoop.conf.Configuration conf, InetAddress serverAddr, SecurityInfo securityInfo, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token, boolean fallbackAllowed, Map<String,String> saslProps) throws IOException
SaslClientAuthenticationProvider
createClient
in interface SaslClientAuthenticationProvider
IOException
public org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation getUserInfo(User user)
SaslClientAuthenticationProvider
RPCProtos.UserInformation
from the given UserGroupInformation
getUserInfo
in interface SaslClientAuthenticationProvider
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.