public class UserPrivilegesInfoTest extends Object
| Constructor and Description |
|---|
UserPrivilegesInfoTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
setup() |
void |
testCanAddGroup()
Checks whether the current user has been granted privileges
to add a new group.
|
void |
testCanAddUser()
Checks whether the current user has been granted privileges
to add a new user.
|
void |
testCanRemoveGroup()
Checks whether the current user has been granted privileges
to remove the specified group.
|
void |
testCanRemoveUser()
Checks whether the current user has been granted privileges
to remove the specified user.
|
void |
testCanUpdateGroupMembers()
Checks whether the current user has been granted privileges
to update the membership of the specified group.
|
void |
testCanUpdateGroupProperties()
Checks whether the current user has been granted privileges
to update the properties of the specified group.
|
void |
testCanUpdateUserProperties()
Checks whether the current user has been granted privileges
to update the properties of the specified user.
|
public void testCanAddUser()
throws javax.json.JsonException,
IOException
javax.json.JsonExceptionIOExceptionpublic void testCanAddGroup()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCanUpdateUserProperties()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCanUpdateGroupProperties()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCanRemoveUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCanRemoveGroup()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCanUpdateGroupMembers()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.