Class DefaultACLProvider
- java.lang.Object
-
- org.apache.curator.framework.imps.DefaultACLProvider
-
- All Implemented Interfaces:
ACLProvider,org.apache.curator.utils.InternalACLProvider
public class DefaultACLProvider extends java.lang.Object implements ACLProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultACLProvider()
-
Method Summary
All Methods Instance Methods Concrete 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 pathjava.util.List<org.apache.zookeeper.data.ACL>getDefaultAcl()Return the ACL list to use by default (usuallyZooDefs.Ids.OPEN_ACL_UNSAFE).
-
-
-
Method Detail
-
getDefaultAcl
public java.util.List<org.apache.zookeeper.data.ACL> 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 interfaceorg.apache.curator.utils.InternalACLProvider- Returns:
- default ACL list
-
getAclForPath
public java.util.List<org.apache.zookeeper.data.ACL> getAclForPath(java.lang.String path)
Description copied from interface:ACLProviderReturn the ACL list to use for the given path- Specified by:
getAclForPathin interfaceACLProvider- Specified by:
getAclForPathin interfaceorg.apache.curator.utils.InternalACLProvider- Parameters:
path- path (NOTE: might be null)- Returns:
- ACL list
-
-