@InterfaceAudience.Private public class DigestSaslServerAuthenticationProvider extends DigestSaslAuthenticationProvider implements SaslServerAuthenticationProvider
| Modifier and Type | Class and Description | 
|---|---|
| private static class  | DigestSaslServerAuthenticationProvider.SaslDigestCallbackHandlerCallbackHandler for SASL DIGEST-MD5 mechanism | 
| Modifier and Type | Field and Description | 
|---|---|
| private AtomicReference<org.apache.hadoop.security.UserGroupInformation> | attemptingUser | 
| private static org.slf4j.Logger | LOG | 
SASL_AUTH_METHODAUTH_TOKEN_TYPE| Constructor and Description | 
|---|
| DigestSaslServerAuthenticationProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| AttemptingUserProvidingSaslServer | createServer(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 | supportsProtocolAuthentication() | 
getSaslAuthMethodgetTokenKindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitgetSaslAuthMethod, getTokenKindprivate static final org.slf4j.Logger LOG
private AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser
public DigestSaslServerAuthenticationProvider()
public AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String,String> saslProps) throws IOException
SaslServerAuthenticationProvidercreateServer in interface SaslServerAuthenticationProviderIOExceptionpublic boolean supportsProtocolAuthentication()
supportsProtocolAuthentication in interface SaslServerAuthenticationProviderpublic org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
getAuthorizedUgi in interface SaslServerAuthenticationProviderIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.