Class CustomSaslAuthenticationProviderTestBase.InMemoryServerProvider

java.lang.Object
org.apache.hadoop.hbase.security.provider.AbstractSaslClientAuthenticationProvider
org.apache.hadoop.hbase.security.provider.CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider
org.apache.hadoop.hbase.security.provider.CustomSaslAuthenticationProviderTestBase.InMemoryServerProvider
All Implemented Interfaces:
org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider, org.apache.hadoop.hbase.security.provider.SaslClientAuthenticationProvider, org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
Enclosing class:
CustomSaslAuthenticationProviderTestBase

public static class CustomSaslAuthenticationProviderTestBase.InMemoryServerProvider extends CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider implements org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
Server provider which validates credentials from an in-memory database.
  • Constructor Details

  • Method Details

    • createServer

      public org.apache.hadoop.hbase.security.provider.AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String,String> saslProps) throws IOException
      Specified by:
      createServer in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
      Throws:
      IOException
    • supportsProtocolAuthentication

      Specified by:
      supportsProtocolAuthentication in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
    • getAuthorizedUgi

      public org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
      Specified by:
      getAuthorizedUgi in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
      Throws:
      IOException