static class ShadeSaslServerAuthenticationProvider.ShadeSaslServerCallbackHandler extends Object implements CallbackHandler
Modifier and Type | Field and Description |
---|---|
private AtomicReference<org.apache.hadoop.security.UserGroupInformation> |
attemptingUser |
private Map<String,char[]> |
passwordDatabase |
Constructor and Description |
---|
ShadeSaslServerCallbackHandler(AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser,
Map<String,char[]> passwordDatabase) |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.security.UserGroupInformation |
createUgiForRemoteUser(String username) |
void |
handle(Callback[] callbacks) |
private final AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser
private final Map<String,char[]> passwordDatabase
public ShadeSaslServerCallbackHandler(AtomicReference<org.apache.hadoop.security.UserGroupInformation> attemptingUser, Map<String,char[]> passwordDatabase)
public void handle(Callback[] callbacks) throws org.apache.hadoop.security.token.SecretManager.InvalidToken, UnsupportedCallbackException
handle
in interface CallbackHandler
org.apache.hadoop.security.token.SecretManager.InvalidToken
UnsupportedCallbackException
org.apache.hadoop.security.UserGroupInformation createUgiForRemoteUser(String username)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.