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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.security.provider.AttemptingUserProvidingSaslServer
createServer
(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) org.apache.hadoop.security.UserGroupInformation
getAuthorizedUgi
(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) org.apache.hadoop.hbase.security.provider.SaslAuthMethod
void
init
(org.apache.hadoop.conf.Configuration conf) boolean
boolean
-
Field Details
-
ID
- See Also:
-
initialized
-
-
Constructor Details
-
InitCheckingSaslServerAuthenticationProvider
-
-
Method Details
-
init
- Specified by:
init
in interfaceorg.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
-
isInitialized
-
getSaslAuthMethod
- Specified by:
getSaslAuthMethod
in interfaceorg.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
-
getTokenKind
- Specified by:
getTokenKind
in interfaceorg.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 interfaceorg.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
- Throws:
IOException
-
supportsProtocolAuthentication
- Specified by:
supportsProtocolAuthentication
in interfaceorg.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 interfaceorg.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
- Throws:
IOException
-