public static class TestSaslServerAuthenticationProviders.InitCheckingSaslServerAuthenticationProvider extends Object implements org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static byte |
ID |
private boolean |
initialized |
| Constructor and Description |
|---|
InitCheckingSaslServerAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 |
getSaslAuthMethod() |
String |
getTokenKind() |
void |
init(org.apache.hadoop.conf.Configuration conf) |
boolean |
isInitialized() |
boolean |
supportsProtocolAuthentication() |
public static final byte ID
private boolean initialized
public InitCheckingSaslServerAuthenticationProvider()
public void init(org.apache.hadoop.conf.Configuration conf)
init in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProviderpublic boolean isInitialized()
public org.apache.hadoop.hbase.security.provider.SaslAuthMethod getSaslAuthMethod()
getSaslAuthMethod in interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProviderpublic String getTokenKind()
getTokenKind in interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProviderpublic 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
createServer in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProviderIOExceptionpublic boolean supportsProtocolAuthentication()
supportsProtocolAuthentication in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProviderpublic org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
getAuthorizedUgi in interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProviderIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.