@InterfaceAudience.Private public class ShadeSaslServerAuthenticationProvider extends ShadeSaslAuthenticationProvider implements SaslServerAuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
PASSWORD_FILE_KEY |
METHOD, TOKEN_KIND| Constructor and Description |
|---|
ShadeSaslServerAuthenticationProvider() |
| 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) |
org.apache.hadoop.security.UserGroupInformation |
getAuthorizedUgi(String authzId,
org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) |
void |
init(org.apache.hadoop.conf.Configuration conf) |
boolean |
supportsProtocolAuthentication() |
getSaslAuthMethod, getTokenKindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSaslAuthMethod, getTokenKindpublic static final String PASSWORD_FILE_KEY
public ShadeSaslServerAuthenticationProvider()
public void init(org.apache.hadoop.conf.Configuration conf)
throws IOException
init in interface SaslServerAuthenticationProviderIOExceptionpublic AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String,String> saslProps) throws IOException
createServer 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–2020 The Apache Software Foundation. All rights reserved.