public static class TestCustomSaslAuthenticationProvider.InMemoryServerProvider extends TestCustomSaslAuthenticationProvider.InMemoryClientProvider implements org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
| Modifier and Type | Class and Description |
|---|---|
private class |
TestCustomSaslAuthenticationProvider.InMemoryServerProvider.InMemoryServerProviderCallbackHandler
Pulls the correct password for the user who started the SASL handshake so that SASL
can validate that the user provided the right password.
|
TestCustomSaslAuthenticationProvider.InMemoryClientProvider.InMemoryClientProviderCallbackHandlerMECHANISM, SASL_AUTH_METHOD| Constructor and Description |
|---|
InMemoryServerProvider() |
| 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) |
boolean |
supportsProtocolAuthentication() |
createClient, findToken, getSaslAuthMethod, getUserInfoequals, getTokenKind, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitinitpublic InMemoryServerProvider()
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
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.