Uses of Class
org.apache.zookeeper.data.ACL
-
Packages that use ACL Package Description org.apache.zookeeper org.apache.zookeeper.cli org.apache.zookeeper.proto org.apache.zookeeper.retry org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.auth org.apache.zookeeper.txn -
-
Uses of ACL in org.apache.zookeeper
Fields in org.apache.zookeeper with type parameters of type ACL Modifier and Type Field Description protected java.util.List<ACL>
Op.Create. acl
static java.util.ArrayList<ACL>
ZooDefs.Ids. CREATOR_ALL_ACL
This ACL gives the creators authentication id's all permissions.static java.util.ArrayList<ACL>
ZooDefs.Ids. OPEN_ACL_UNSAFE
This is a completely open ACL .static java.util.ArrayList<ACL>
ZooDefs.Ids. READ_ACL_UNSAFE
This ACL gives the world the ability to read.Methods in org.apache.zookeeper that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
ZooKeeper. getACL(java.lang.String path, Stat stat)
Return the ACL and stat of the node of the given path.Method parameters in org.apache.zookeeper with type arguments of type ACL Modifier and Type Method Description static java.lang.String
ZKUtil. aclToString(java.util.List<ACL> acls)
static Op
Op. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags)
Constructs a create operation.static Op
Op. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags, long ttl)
Constructs a create operation.static Op
Op. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)
Constructs a create operation.static Op
Op. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, long ttl)
Constructs a create operation.Transaction
Transaction. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)
java.lang.String
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)
Create a node with the given path.void
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx)
The asynchronous version of create.void
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx, long ttl)
The asynchronous version of create with ttl.void
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.StringCallback cb, java.lang.Object ctx)
The asynchronous version of create.java.lang.String
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat)
Create a node with the given path and returns the Stat of that node.java.lang.String
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat, long ttl)
same asZooKeeper.create(String, byte[], List, CreateMode, Stat)
but allows for specifying a TTL when mode isCreateMode.PERSISTENT_WITH_TTL
orCreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL
.void
AsyncCallback.ACLCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, java.util.List<ACL> acl, Stat stat)
Process the result of the asynchronous call.Stat
ZooKeeper. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)
Set the ACL for the node of the given path if such a node exists and the given aclVersion matches the acl version of the node.void
ZooKeeper. setACL(java.lang.String path, java.util.List<ACL> acl, int version, AsyncCallback.StatCallback cb, java.lang.Object ctx)
The asynchronous version of setACL. -
Uses of ACL in org.apache.zookeeper.cli
Methods in org.apache.zookeeper.cli that return types with arguments of type ACL Modifier and Type Method Description static java.util.List<ACL>
AclParser. parse(java.lang.String aclString)
parse string into list of ACL -
Uses of ACL in org.apache.zookeeper.proto
Methods in org.apache.zookeeper.proto that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
CreateRequest. getAcl()
java.util.List<ACL>
CreateTTLRequest. getAcl()
java.util.List<ACL>
GetACLResponse. getAcl()
java.util.List<ACL>
SetACLRequest. getAcl()
Method parameters in org.apache.zookeeper.proto with type arguments of type ACL Modifier and Type Method Description void
CreateRequest. setAcl(java.util.List<ACL> m_)
void
CreateTTLRequest. setAcl(java.util.List<ACL> m_)
void
GetACLResponse. setAcl(java.util.List<ACL> m_)
void
SetACLRequest. setAcl(java.util.List<ACL> m_)
Constructor parameters in org.apache.zookeeper.proto with type arguments of type ACL Constructor Description CreateRequest(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags)
CreateTTLRequest(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags, long ttl)
GetACLResponse(java.util.List<ACL> acl, Stat stat)
SetACLRequest(java.lang.String path, java.util.List<ACL> acl, int version)
-
Uses of ACL in org.apache.zookeeper.retry
Methods in org.apache.zookeeper.retry that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
ZooKeeperRetry. getACL(java.lang.String path, Stat stat)
Method parameters in org.apache.zookeeper.retry with type arguments of type ACL Modifier and Type Method Description java.lang.String
ZooKeeperRetry. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)
Stat
ZooKeeperRetry. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)
-
Uses of ACL in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
ZKDatabase. aclForNode(DataNode n)
java.util.List<ACL>
ReferenceCountedACLCache. convertLong(java.lang.Long longVal)
converts a long to a list of acls.static java.util.List<ACL>
PrepRequestProcessor. fixupACL(java.lang.String path, java.util.List<Id> authInfo, java.util.List<ACL> acls)
This method checks out the acl making sure it isn't null or empty, it has valid schemes and ids, and expanding any relative ids that depend on the requestor's authentication information.java.util.List<ACL>
DataTree. getACL(java.lang.String path, Stat stat)
java.util.List<ACL>
DataTree. getACL(DataNode node)
java.util.List<ACL>
ZKDatabase. getACL(java.lang.String path, Stat stat)
get acl for a pathMethod parameters in org.apache.zookeeper.server with type arguments of type ACL Modifier and Type Method Description void
ZooKeeperServer. checkACL(ServerCnxn cnxn, java.util.List<ACL> acl, int perm, java.util.List<Id> ids, java.lang.String path, java.util.List<ACL> setAcls)
Grant or deny authorization to an operation on a node as a function of:java.lang.Long
ReferenceCountedACLCache. convertAcls(java.util.List<ACL> acls)
converts the list of acls to a long.void
DataTree. createNode(java.lang.String path, byte[] data, java.util.List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time)
Add a new node to the DataTree.void
DataTree. createNode(java.lang.String path, byte[] data, java.util.List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time, Stat outputStat)
Add a new node to the DataTree.Stat
DataTree. setACL(java.lang.String path, java.util.List<ACL> acl, int version)
-
Uses of ACL in org.apache.zookeeper.server.auth
Methods in org.apache.zookeeper.server.auth that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
ServerAuthenticationProvider.MatchValues. getSetAcls()
Constructor parameters in org.apache.zookeeper.server.auth with type arguments of type ACL Constructor Description MatchValues(java.lang.String path, java.lang.String id, java.lang.String aclExpr, int perm, java.util.List<ACL> setAcls)
-
Uses of ACL in org.apache.zookeeper.txn
Methods in org.apache.zookeeper.txn that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>
CreateContainerTxn. getAcl()
java.util.List<ACL>
CreateTTLTxn. getAcl()
java.util.List<ACL>
CreateTxn. getAcl()
java.util.List<ACL>
CreateTxnV0. getAcl()
java.util.List<ACL>
SetACLTxn. getAcl()
Method parameters in org.apache.zookeeper.txn with type arguments of type ACL Modifier and Type Method Description void
CreateContainerTxn. setAcl(java.util.List<ACL> m_)
void
CreateTTLTxn. setAcl(java.util.List<ACL> m_)
void
CreateTxn. setAcl(java.util.List<ACL> m_)
void
CreateTxnV0. setAcl(java.util.List<ACL> m_)
void
SetACLTxn. setAcl(java.util.List<ACL> m_)
Constructor parameters in org.apache.zookeeper.txn with type arguments of type ACL Constructor Description CreateContainerTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion)
CreateTTLTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion, long ttl)
CreateTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, boolean ephemeral, int parentCVersion)
CreateTxnV0(java.lang.String path, byte[] data, java.util.List<ACL> acl, boolean ephemeral)
SetACLTxn(java.lang.String path, java.util.List<ACL> acl, int version)
-