private static class DigestSaslServerAuthenticationProvider.SaslDigestCallbackHandler extends Object implements CallbackHandler
| Modifier and Type | Field and Description | 
|---|---|
| private AtomicReference<org.apache.hadoop.security.UserGroupInformation> | attemptingUser | 
| private org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> | secretManager | 
| Constructor and Description | 
|---|
| SaslDigestCallbackHandler(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager,
                         AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser) | 
| Modifier and Type | Method and Description | 
|---|---|
| private char[] | getPassword(org.apache.hadoop.security.token.TokenIdentifier tokenid) | 
| void | handle(Callback[] callbacks) | 
private final org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager
private final AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser
public SaslDigestCallbackHandler(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser)
private char[] getPassword(org.apache.hadoop.security.token.TokenIdentifier tokenid) throws org.apache.hadoop.security.token.SecretManager.InvalidToken
org.apache.hadoop.security.token.SecretManager.InvalidTokenpublic void handle(Callback[] callbacks) throws org.apache.hadoop.security.token.SecretManager.InvalidToken, UnsupportedCallbackException
handle in interface CallbackHandlerorg.apache.hadoop.security.token.SecretManager.InvalidTokenUnsupportedCallbackExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.