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.JsonException
IOException
public void testCanAddGroup() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCanUpdateUserProperties() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCanUpdateGroupProperties() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCanRemoveUser() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCanRemoveGroup() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCanUpdateGroupMembers() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.