Class BuiltInProviderSelector

java.lang.Object
org.apache.hadoop.hbase.security.provider.BuiltInProviderSelector
All Implemented Interfaces:
AuthenticationProviderSelector
Direct Known Subclasses:
ShadeProviderSelector

@LimitedPrivate("Authentication") @NotThreadSafe public class BuiltInProviderSelector extends Object implements AuthenticationProviderSelector
Default implementation of AuthenticationProviderSelector which can choose from the authentication implementations which HBase provides out of the box: Simple, Kerberos, and Delegation Token authentication. This implementation will ignore any SaslAuthenticationProvider's which are available on the classpath or specified in the configuration because HBase cannot correctly choose which token should be returned to a client when multiple are present. It is expected that users implement their own AuthenticationProviderSelector when writing a custom provider. This implementation is not thread-safe. configure(Configuration, Collection) and selectProvider(String, User) is not safe if they are called concurrently.