Interface InternalACLProvider


  • public interface InternalACLProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.zookeeper.data.ACL> getAclForPath​(java.lang.String path)
      Return the ACL list to use for the given path
      java.util.List<org.apache.zookeeper.data.ACL> getDefaultAcl()
      Return the ACL list to use by default (usually ZooDefs.Ids.OPEN_ACL_UNSAFE).
    • Method Detail

      • getDefaultAcl

        java.util.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

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