Class DigestSaslServerAuthenticationProvider
java.lang.Object
org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.DigestSaslServerAuthenticationProvider
- All Implemented Interfaces:
SaslAuthenticationProvider,SaslServerAuthenticationProvider
@Private
public class DigestSaslServerAuthenticationProvider
extends DigestSaslAuthenticationProvider
implements SaslServerAuthenticationProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classCallbackHandler for SASL DIGEST-MD5 mechanism -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AtomicReference<org.apache.hadoop.security.UserGroupInformation>private static final org.slf4j.LoggerFields 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 TypeMethodDescriptioncreateServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) Creates the SaslServer to accept incoming SASL authentication requests.org.apache.hadoop.security.UserGroupInformationgetAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) booleanMethods 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.SaslServerAuthenticationProvider
init
-
Field Details
-
LOG
-
attemptingUser
-
-
Constructor Details
-
DigestSaslServerAuthenticationProvider
-
-
Method Details
-
createServer
public AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) throws IOExceptionDescription copied from interface:SaslServerAuthenticationProviderCreates the SaslServer to accept incoming SASL authentication requests.- Specified by:
createServerin interfaceSaslServerAuthenticationProvider- Throws:
IOException
-
supportsProtocolAuthentication
- Specified by:
supportsProtocolAuthenticationin interfaceSaslServerAuthenticationProvider
-
getAuthorizedUgi
public org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException - Specified by:
getAuthorizedUgiin interfaceSaslServerAuthenticationProvider- Throws:
IOException
-