Package | Description |
---|---|
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.security | |
org.apache.hadoop.hbase.security.provider | |
org.apache.hadoop.hbase.security.provider.example |
Modifier and Type | Field and Description |
---|---|
protected SaslClientAuthenticationProvider |
RpcConnection.provider |
Constructor and Description |
---|
AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed)
Create a HBaseSaslRpcClient for an authentication method
|
AbstractHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed,
String rpcProtection)
Create a HBaseSaslRpcClient for an authentication method
|
HBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed) |
HBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed,
String rpcProtection,
boolean initStreamForCrypto) |
NettyHBaseSaslRpcClient(org.apache.hadoop.conf.Configuration conf,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed,
String rpcProtection) |
NettyHBaseSaslRpcClientHandler(org.apache.hbase.thirdparty.io.netty.util.concurrent.Promise<Boolean> saslPromise,
org.apache.hadoop.security.UserGroupInformation ugi,
SaslClientAuthenticationProvider provider,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
InetAddress serverAddr,
SecurityInfo securityInfo,
boolean fallbackAllowed,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSaslClientAuthenticationProvider
Base implementation of
SaslClientAuthenticationProvider . |
class |
DigestSaslClientAuthenticationProvider |
class |
GssSaslClientAuthenticationProvider |
class |
SimpleSaslClientAuthenticationProvider |
Modifier and Type | Field and Description |
---|---|
private Collection<SaslClientAuthenticationProvider> |
SaslClientAuthenticationProviders.providers |
Modifier and Type | Method and Description |
---|---|
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
SaslClientAuthenticationProviders.getSimpleProvider()
Returns the provider and token pair for SIMPLE authentication.
|
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
AuthenticationProviderSelector.selectProvider(String clusterId,
User user)
Chooses the authentication provider which should be used given the provided client context
from the authentication providers passed in via
AuthenticationProviderSelector.configure(Configuration, Collection) . |
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
BuiltInProviderSelector.selectProvider(String clusterId,
User user) |
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
SaslClientAuthenticationProviders.selectProvider(String clusterId,
User clientUser)
Chooses the best authentication provider and corresponding token given the HBase cluster
identifier and the user.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
SaslClientAuthenticationProviders.addProviderIfNotExists(SaslClientAuthenticationProvider provider,
HashMap<Byte,SaslClientAuthenticationProvider> providers)
Adds the given
provider to the set, only if an equivalent provider does not
already exist in the set. |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
SaslClientAuthenticationProviders.addExplicitProviders(org.apache.hadoop.conf.Configuration conf,
HashMap<Byte,SaslClientAuthenticationProvider> providers)
Extracts and instantiates authentication providers from the configuration.
|
(package private) static void |
SaslClientAuthenticationProviders.addProviderIfNotExists(SaslClientAuthenticationProvider provider,
HashMap<Byte,SaslClientAuthenticationProvider> providers)
Adds the given
provider to the set, only if an equivalent provider does not
already exist in the set. |
void |
AuthenticationProviderSelector.configure(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> availableProviders)
Initializes the implementation with configuration and a set of providers available.
|
void |
BuiltInProviderSelector.configure(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> providers) |
(package private) static AuthenticationProviderSelector |
SaslClientAuthenticationProviders.instantiateSelector(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> providers)
Instantiates the ProviderSelector implementation from the provided configuration.
|
Constructor and Description |
---|
SaslClientAuthenticationProviders(Collection<SaslClientAuthenticationProvider> providers,
AuthenticationProviderSelector selector) |
Modifier and Type | Class and Description |
---|---|
class |
ShadeSaslClientAuthenticationProvider |
Modifier and Type | Method and Description |
---|---|
Pair<SaslClientAuthenticationProvider,org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> |
ShadeProviderSelector.selectProvider(String clusterId,
User user) |
Modifier and Type | Method and Description |
---|---|
void |
ShadeProviderSelector.configure(org.apache.hadoop.conf.Configuration conf,
Collection<SaslClientAuthenticationProvider> providers) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.