Class CustomSaslAuthenticationProviderTestBase.InMemoryProviderSelector
java.lang.Object
org.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
org.apache.hadoop.hbase.security.provider.CustomSaslAuthenticationProviderTestBase.InMemoryProviderSelector
- All Implemented Interfaces:
org.apache.hadoop.hbase.security.provider.AuthenticationProviderSelector
- Enclosing class:
- CustomSaslAuthenticationProviderTestBase
public static class CustomSaslAuthenticationProviderTestBase.InMemoryProviderSelector
extends org.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
Custom provider which can select our custom provider, amongst other tokens which may be
available.
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class org.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
conf, digestAuth, digestAuthTokenKind, krbAuth, simpleAuth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.apache.hadoop.conf.Configuration conf, Collection<org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider> providers) org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> selectProvider
(String clusterId, org.apache.hadoop.hbase.security.User user)
-
Field Details
-
inMemoryProvider
-
-
Constructor Details
-
InMemoryProviderSelector
public InMemoryProviderSelector()
-
-
Method Details
-
configure
public void configure(org.apache.hadoop.conf.Configuration conf, Collection<org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider> providers) - Specified by:
configure
in interfaceorg.apache.hadoop.hbase.security.provider.AuthenticationProviderSelector
- Overrides:
configure
in classorg.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
-
selectProvider
public org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> selectProvider(String clusterId, org.apache.hadoop.hbase.security.User user) - Specified by:
selectProvider
in interfaceorg.apache.hadoop.hbase.security.provider.AuthenticationProviderSelector
- Overrides:
selectProvider
in classorg.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
-