public class ZKACLProviderFactory extends Object
ZKACLProviderDelegate
which will be used to set ACLs on Drill ZK nodes
If secure ACLs are required, the ZKACLProviderFactory
looks up and instantiates a ZKACLProviderDelegate
specified in the config file. Else it returns the ZKDefaultACLProvider
Constructor and Description |
---|
ZKACLProviderFactory() |
Modifier and Type | Method and Description |
---|---|
static ZKACLProviderDelegate |
findACLProvider(DrillConfig config,
ZKACLContextProvider contextProvider,
BootStrapContext context) |
static ZKACLProviderDelegate |
getACLProvider(DrillConfig config,
String drillClusterPath,
BootStrapContext context) |
public static ZKACLProviderDelegate getACLProvider(DrillConfig config, String drillClusterPath, BootStrapContext context) throws DrillbitStartupException
DrillbitStartupException
public static ZKACLProviderDelegate findACLProvider(DrillConfig config, ZKACLContextProvider contextProvider, BootStrapContext context) throws DrillbitStartupException
DrillbitStartupException
Copyright © 1970 The Apache Software Foundation. All rights reserved.