Package org.apache.storm.zookeeper

## Class AclEnforcement

- java.lang.Object
- - org.apache.storm.zookeeper.AclEnforcement

-     public class AclEnforcement
      extends Object

  This is code intended to enforce ZK ACLs.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AclEnforcement()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AclEnforcement

          public AclEnforcement()

  - ### Method Detail

    - #### verifyAcls

          public static void verifyAcls​(Map<String,​Object> conf,
                                        boolean fixUp)
                                 throws Exception

      Verify the ZK ACLs are correct and optionally fix them if needed.
      Parameters:
        `conf` - the cluster config.
        `fixUp` - true if we want to fix the ACLs else false.
      Throws:
        `Exception` - on any error.

    - #### main

          public static void main​(String[] args)
                           throws Exception

      Throws:
        `Exception`