org.ccnx.ccn.test.profiles.security.access.group.ACPerformanceTestRepo Class Reference
List of all members.
Public Member Functions |
void | performanceTest () throws Exception |
void | createBaseDirectoryACL () throws Exception |
| Create a new ACL at baseDirectory with Alice as a manager and Bob as a reader.
|
void | writeContentInDirectory () |
| write a file in the baseDirectory
|
void | readFileAs (String userName) throws Exception |
| Read the file as the specified user.
|
void | updateACL () throws Exception |
| Add Carol as a reader to the ACL on baseDirectory.
|
Static Public Member Functions |
static void | setUpBeforeClass () throws Exception |
static void | tearDownAfterClass () throws Exception |
Package Attributes |
int | readsize = 1024 |
byte[] | buffer = new byte[readsize] |
Static Package Attributes |
static ContentName | domainPrefix |
static ContentName | userKeystore |
static ContentName | userNamespace |
static ContentName | groupNamespace |
static String[] | userNames = {"Alice", "Bob", "Carol"} |
static ContentName | baseDirectory |
static ContentName | nodeName |
static CreateUserData | cua |
static final int | blockSize = 8096 |
static final int | contentSizeInBlocks = 100 |
static Random | rnd |
static CCNHandle | _AliceHandle |
static GroupAccessControlManager | _AliceACM |
static Level[] | logLevels |
Member Function Documentation
void org.ccnx.ccn.test.profiles.security.access.group.ACPerformanceTestRepo.readFileAs |
( |
String |
userName |
) |
throws Exception |
Read the file as the specified user.
- Parameters:
-
| userName | the name of the user |
- Exceptions:
-
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/test/profiles/security/access/group/ACPerformanceTestRepo.java