Class DefaultACLProvider
java.lang.Object
org.apache.curator.framework.imps.DefaultACLProvider
- All Implemented Interfaces:
ACLProvider,InternalACLProvider
-
Constructor Summary
Constructors -
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).
-
Constructor Details
-
DefaultACLProvider
public DefaultACLProvider()
-
-
Method Details
-
getDefaultAcl
Description copied from interface:ACLProviderReturn the ACL list to use by default (usuallyZooDefs.Ids.OPEN_ACL_UNSAFE).- Specified by:
getDefaultAclin interfaceACLProvider- Specified by:
getDefaultAclin interfaceInternalACLProvider- Returns:
- default ACL list
-
getAclForPath
Description copied from interface:ACLProviderReturn the ACL list to use for the given path- Specified by:
getAclForPathin interfaceACLProvider- Specified by:
getAclForPathin interfaceInternalACLProvider- Parameters:
path- path (NOTE: might be null)- Returns:
- ACL list
-