public class UserAuthenticatorFactory extends Object
UserAuthenticator
implementation based on the BOOT options.Constructor and Description |
---|
UserAuthenticatorFactory() |
Modifier and Type | Method and Description |
---|---|
static UserAuthenticator |
createAuthenticator(DrillConfig config,
ScanResult scan)
Create a
UserAuthenticator implementation based on BOOT settings in
given drillConfig. |
public static UserAuthenticator createAuthenticator(DrillConfig config, ScanResult scan) throws DrillbitStartupException
UserAuthenticator
implementation based on BOOT settings in
given drillConfig.config
- DrillConfig containing BOOT options.UserAuthenticator
implementation instance.
It is responsibility of the caller to close the authenticator when no longer needed.DrillbitStartupException
- when no implementation found for given BOOT options.Copyright © 1970 The Apache Software Foundation. All rights reserved.