Public Member Functions | |
void | testInOrder () throws Exception |
Ensures that the tests run in the correct order. | |
void | testSetBaseACL () throws Exception |
Set the ACL for the base node (we make user 0 a manager of the base node). | |
void | testGetBaseACL () throws Exception |
Retrieve the ACL for the base node. | |
void | testGetACLFromAncestor () throws Exception |
Retrieve the ACL for the grandchild node. | |
void | testSetACL () throws Exception |
Interpose a different ACL at the child node (we make user0 a manager and user1 a reader) Retrieve the ACL for the grandchild node and check that it now comes from the child node. | |
void | testUpdateACLAdd () throws Exception |
Update the child ACL to add user1 as a writer and user2 as a reader. | |
void | testUpdateACLRemove () throws Exception |
Remove user1 as a writer and user2 as a reader of the child node. | |
void | deleteACL () throws Exception |
Delete the ACL at the child node. | |
Static Public Member Functions | |
static void | tearDownAfterClass () throws Exception |
static void | setUpBeforeClass () throws Exception |
Static Package Attributes | |
static GroupAccessControlManager | acm |
static ContentName | baseNode |
static ContentName | childNode |
static ContentName | grandchildNode |
static ContentName | userKeyStorePrefix |
static ContentName | userNamespace |
static ContentName | groupNamespace |
static int | userCount = 3 |
static CreateUserData | td |
static String[] | friendlyNames |
static ContentName | user0 |
static ContentName | user1 |
static ContentName | user2 |
static ACL | baseACL |
static ACL | childACL |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testInOrder | ( | ) | throws Exception |
Ensures that the tests run in the correct order.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testSetBaseACL | ( | ) | throws Exception |
Set the ACL for the base node (we make user 0 a manager of the base node).
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testGetBaseACL | ( | ) | throws Exception |
Retrieve the ACL for the base node.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testGetACLFromAncestor | ( | ) | throws Exception |
Retrieve the ACL for the grandchild node.
This ACL comes from the base node.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testSetACL | ( | ) | throws Exception |
Interpose a different ACL at the child node (we make user0 a manager and user1 a reader) Retrieve the ACL for the grandchild node and check that it now comes from the child node.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testUpdateACLAdd | ( | ) | throws Exception |
Update the child ACL to add user1 as a writer and user2 as a reader.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.testUpdateACLRemove | ( | ) | throws Exception |
Remove user1 as a writer and user2 as a reader of the child node.
Exception |
void org.ccnx.ccn.test.profiles.security.access.group.GroupAccessControlManagerTestRepo.deleteACL | ( | ) | throws Exception |
Delete the ACL at the child node.
Retrieve the ACL for the grandchild node and check that it comes from the base node.
Exception |