@InterfaceAudience.Private public class SimpleSaslServerAuthenticationProvider extends SimpleSaslAuthenticationProvider implements SaslServerAuthenticationProvider
SASL_AUTH_METHODAUTH_TOKEN_TYPE| Constructor and Description |
|---|
SimpleSaslServerAuthenticationProvider() |
| 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, getTokenKindpublic SimpleSaslServerAuthenticationProvider()
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–2020 The Apache Software Foundation. All rights reserved.