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 Details

  • Constructor Details

  • 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 interface org.apache.hadoop.hbase.security.provider.AuthenticationProviderSelector
      Overrides:
      configure in class org.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 interface org.apache.hadoop.hbase.security.provider.AuthenticationProviderSelector
      Overrides:
      selectProvider in class org.apache.hadoop.hbase.security.provider.BuiltInProviderSelector