Class DigestSaslClientAuthenticationProvider
java.lang.Object
org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.DigestSaslClientAuthenticationProvider
- All Implemented Interfaces:
SaslAuthenticationProvider,SaslClientAuthenticationProvider
@Private
public class DigestSaslClientAuthenticationProvider
extends DigestSaslAuthenticationProvider
implements SaslClientAuthenticationProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
SASL_AUTH_METHODFields inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
AUTH_TOKEN_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClient(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.UserInformationgetUserInfo(User user) Constructs aRPCProtos.UserInformationfrom the givenUserGroupInformationMethods inherited from class org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
getSaslAuthMethodMethods inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
createSaslAuthMethod, getTokenKindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
getSaslAuthMethod, getTokenKindMethods inherited from interface org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider
canRetry, createClient, getRealUser, relogin
-
Constructor Details
-
DigestSaslClientAuthenticationProvider
-
-
Method Details
-
createClient
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 IOExceptionDescription copied from interface:SaslClientAuthenticationProviderCreate the SASL client instance for this authentication method.The default implementation is create a fake
SecurityInfoand call the above method, for keeping compatible with old customized authentication method- Specified by:
createClientin interfaceSaslClientAuthenticationProvider- Throws:
IOException
-
getUserInfo
public org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation getUserInfo(User user) Description copied from interface:SaslClientAuthenticationProviderConstructs aRPCProtos.UserInformationfrom the givenUserGroupInformation- Specified by:
getUserInfoin interfaceSaslClientAuthenticationProvider
-