@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_METHOD
AUTH_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() |
getSaslAuthMethod
getTokenKind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
getSaslAuthMethod, getTokenKind
private 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
SaslServerAuthenticationProvider
createServer
in interface SaslServerAuthenticationProvider
IOException
public boolean supportsProtocolAuthentication()
supportsProtocolAuthentication
in interface SaslServerAuthenticationProvider
public 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 SaslServerAuthenticationProvider
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.