Class UserAuthenticatorFactory
java.lang.Object
org.apache.drill.exec.rpc.user.security.UserAuthenticatorFactory
Factory class which provides
UserAuthenticator implementation based on the BOOT options.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserAuthenticatorcreateAuthenticator(DrillConfig config, ScanResult scan) Create aUserAuthenticatorimplementation based on BOOT settings in given drillConfig.
-
Constructor Details
-
UserAuthenticatorFactory
public UserAuthenticatorFactory()
-
-
Method Details
-
createAuthenticator
public static UserAuthenticator createAuthenticator(DrillConfig config, ScanResult scan) throws DrillbitStartupException Create aUserAuthenticatorimplementation based on BOOT settings in given drillConfig.- Parameters:
config- DrillConfig containing BOOT options.- Returns:
- Initialized
UserAuthenticatorimplementation instance. It is responsibility of the caller to close the authenticator when no longer needed. - Throws:
DrillbitStartupException- when no implementation found for given BOOT options.
-