Class TestSaslServerAuthenticationProviders.InitCheckingSaslServerAuthenticationProvider

java.lang.Object
org.apache.hadoop.hbase.security.provider.TestSaslServerAuthenticationProviders.InitCheckingSaslServerAuthenticationProvider
All Implemented Interfaces:
org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider, org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
Enclosing class:
TestSaslServerAuthenticationProviders

public static class TestSaslServerAuthenticationProviders.InitCheckingSaslServerAuthenticationProvider extends Object implements org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public void init(org.apache.hadoop.conf.Configuration conf)
      Specified by:
      init in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
    • isInitialized

      public boolean isInitialized()
    • getSaslAuthMethod

      public org.apache.hadoop.hbase.security.provider.SaslAuthMethod getSaslAuthMethod()
      Specified by:
      getSaslAuthMethod in interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
    • getTokenKind

      public String getTokenKind()
      Specified by:
      getTokenKind in interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
    • 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