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
Modifier and TypeClassDescriptionprivate static class
CallbackHandler for SASL DIGEST-MD5 mechanism -
Field Summary
Modifier and TypeFieldDescriptionprivate AtomicReference<org.apache.hadoop.security.UserGroupInformation>
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
SASL_AUTH_METHOD
Fields inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
AUTH_TOKEN_TYPE
-
Constructor Summary
-
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.UserGroupInformation
getAuthorizedUgi
(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) boolean
Methods inherited from class org.apache.hadoop.hbase.security.provider.DigestSaslAuthenticationProvider
getSaslAuthMethod
Methods inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
createSaslAuthMethod, getTokenKind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
getSaslAuthMethod, getTokenKind
Methods 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:SaslServerAuthenticationProvider
Creates the SaslServer to accept incoming SASL authentication requests.- Specified by:
createServer
in interfaceSaslServerAuthenticationProvider
- Throws:
IOException
-
supportsProtocolAuthentication
- Specified by:
supportsProtocolAuthentication
in 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:
getAuthorizedUgi
in interfaceSaslServerAuthenticationProvider
- Throws:
IOException
-