Interface InternalACLProvider

All Known Subinterfaces:
ACLProvider
All Known Implementing Classes:
DefaultACLProvider

public interface InternalACLProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.zookeeper.data.ACL>
    Return the ACL list to use for the given path
    List<org.apache.zookeeper.data.ACL>
    Return the ACL list to use by default (usually ZooDefs.Ids.OPEN_ACL_UNSAFE).
  • Method Details

    • getDefaultAcl

      List<org.apache.zookeeper.data.ACL> getDefaultAcl()
      Return the ACL list to use by default (usually ZooDefs.Ids.OPEN_ACL_UNSAFE).
      Returns:
      default ACL list
    • getAclForPath

      List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
      Return the ACL list to use for the given path
      Parameters:
      path - path (NOTE: might be null)
      Returns:
      ACL list