@InterfaceAudience.Private public final class SaslServerAuthenticationProviders extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTRA_PROVIDERS_KEY |
| Modifier and Type | Method and Description |
|---|---|
static SaslServerAuthenticationProviders |
getInstance(org.apache.hadoop.conf.Configuration conf)
Returns a singleton instance of
SaslServerAuthenticationProviders. |
int |
getNumRegisteredProviders()
Returns the number of registered providers.
|
SaslServerAuthenticationProvider |
getSimpleProvider()
Extracts the SIMPLE authentication provider.
|
static void |
reset()
Removes the cached singleton instance of
SaslServerAuthenticationProviders. |
SaslServerAuthenticationProvider |
selectProvider(byte authByte)
Selects the appropriate SaslServerAuthenticationProvider from those available.
|
public static final String EXTRA_PROVIDERS_KEY
public int getNumRegisteredProviders()
public static SaslServerAuthenticationProviders getInstance(org.apache.hadoop.conf.Configuration conf)
SaslServerAuthenticationProviders.public static void reset()
SaslServerAuthenticationProviders.public SaslServerAuthenticationProvider selectProvider(byte authByte)
authByte, this method will return null.public SaslServerAuthenticationProvider getSimpleProvider()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.