public class AclEnforcement extends Object
This is code intended to enforce ZK ACLs.
| Constructor and Description |
|---|
AclEnforcement() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
verifyAcls(Map<String,Object> conf,
boolean fixUp)
Verify the ZK ACLs are correct and optionally fix them if needed.
|
public static void verifyAcls(Map<String,Object> conf, boolean fixUp) throws Exception
Verify the ZK ACLs are correct and optionally fix them if needed.
conf - the cluster config.fixUp - true if we want to fix the ACLs else false.Exception - on any error.Copyright © 2021 The Apache Software Foundation. All rights reserved.