org.apache.curator.framework.api
Interface ACLProvider

All Superinterfaces:
org.apache.curator.utils.InternalACLProvider
All Known Implementing Classes:
DefaultACLProvider

public interface ACLProvider
extends org.apache.curator.utils.InternalACLProvider


Method Summary
 List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
          Return the ACL list to use for the given path
 List<org.apache.zookeeper.data.ACL> getDefaultAcl()
          Return the ACL list to use by default (usually ZooDefs.Ids#OPEN_ACL_UNSAFE).
 

Method Detail

getDefaultAcl

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

Specified by:
getDefaultAcl in interface org.apache.curator.utils.InternalACLProvider
Returns:
default ACL list

getAclForPath

List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
Return the ACL list to use for the given path

Specified by:
getAclForPath in interface org.apache.curator.utils.InternalACLProvider
Parameters:
path - path (NOTE: might be null)
Returns:
ACL list


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.