@InterfaceAudience.Private public class GssSaslServerAuthenticationProvider extends GssSaslAuthenticationProvider implements SaslServerAuthenticationProvider
| Modifier and Type | Class and Description |
|---|---|
private static class |
GssSaslServerAuthenticationProvider.SaslGssCallbackHandler
CallbackHandler for SASL GSSAPI Kerberos mechanism
|
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
SASL_AUTH_METHODAUTH_TOKEN_TYPE| Constructor and Description |
|---|
GssSaslServerAuthenticationProvider() |
| 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
public GssSaslServerAuthenticationProvider()
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.