@InterfaceAudience.LimitedPrivate(value="Authentication") @InterfaceStability.Evolving public interface SaslServerAuthenticationProvider extends SaslAuthenticationProvider
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) |
default void |
init(org.apache.hadoop.conf.Configuration conf)
Allows implementations to initialize themselves, prior to creating a server.
|
boolean |
supportsProtocolAuthentication() |
getSaslAuthMethod, getTokenKind
default void init(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String,String> saslProps) throws IOException
IOException
boolean supportsProtocolAuthentication()
org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.