@InterfaceAudience.LimitedPrivate(value="Authentication") @InterfaceStability.Evolving public interface AuthenticationProviderSelector
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> availableProviders)
Initializes the implementation with configuration and a set of providers available.
|
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
selectProvider(String clusterId,
User user)
Chooses the authentication provider which should be used given the provided client context
from the authentication providers passed in via
configure(Configuration, Collection) . |
void configure(org.apache.hadoop.conf.Configuration conf, Collection<SaslClientAuthenticationProvider> availableProviders)
selectProvider(String, User)
.Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> selectProvider(String clusterId, User user)
configure(Configuration, Collection)
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.