@InterfaceAudience.Private public class ShadeProviderSelector extends BuiltInProviderSelector
Modifier and Type | Field and Description |
---|---|
private ShadeSaslClientAuthenticationProvider |
shade |
private org.apache.hadoop.io.Text |
SHADE_TOKEN_KIND_TEXT |
Constructor and Description |
---|
ShadeProviderSelector() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> providers)
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
AuthenticationProviderSelector.configure(Configuration, Collection) . |
private final org.apache.hadoop.io.Text SHADE_TOKEN_KIND_TEXT
private ShadeSaslClientAuthenticationProvider shade
public ShadeProviderSelector()
public void configure(org.apache.hadoop.conf.Configuration conf, Collection<SaslClientAuthenticationProvider> providers)
AuthenticationProviderSelector
AuthenticationProviderSelector.selectProvider(String, User)
.configure
in interface AuthenticationProviderSelector
configure
in class BuiltInProviderSelector
public Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> selectProvider(String clusterId, User user)
AuthenticationProviderSelector
AuthenticationProviderSelector.configure(Configuration, Collection)
.selectProvider
in interface AuthenticationProviderSelector
selectProvider
in class BuiltInProviderSelector
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.