public class AclEnforcement extends Object
| 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
conf - the cluster config.fixUp - true if we want to fix the ACLs else false.Exception - on any error.Copyright © 2023 The Apache Software Foundation. All rights reserved.