Package org.apache.curator.framework.api
Interface ACLProvider
- All Superinterfaces:
InternalACLProvider
- All Known Implementing Classes:
DefaultACLProvider
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.apache.zookeeper.data.ACL> getAclForPath
(String path) Return the ACL list to use for the given pathList
<org.apache.zookeeper.data.ACL> Return the ACL list to use by default (usuallyZooDefs.Ids.OPEN_ACL_UNSAFE
).
-
Method Details
-
getDefaultAcl
List<org.apache.zookeeper.data.ACL> getDefaultAcl()Return the ACL list to use by default (usuallyZooDefs.Ids.OPEN_ACL_UNSAFE
).- Specified by:
getDefaultAcl
in interfaceInternalACLProvider
- Returns:
- default ACL list
-
getAclForPath
Return the ACL list to use for the given path- Specified by:
getAclForPath
in interfaceInternalACLProvider
- Parameters:
path
- path (NOTE: might be null)- Returns:
- ACL list
-