public class ModifyAceTest extends Object
| Constructor and Description |
|---|
ModifyAceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
setup() |
void |
testAddAceOrderByAfter()
Test to verify adding an ACE after an existing ACE
the ACL
|
void |
testAddAceOrderByBefore()
Test to verify adding an ACE before an existing ACE
the ACL
|
void |
testAddAceOrderByFirst()
Test to verify adding an ACE in the first position of
the ACL
|
void |
testAddAceOrderByLast()
Test to verify adding an ACE at the end
the ACL
|
void |
testAddAceOrderByNumeric()
Test to verify adding an ACE at a specific index inside
the ACL
|
void |
testAddAceWithRestriction()
SLING-8117 - Test to verify adding an ACE with restriction to
the ACL
|
void |
testMergeAceForUser()
Test for SLING-997, preserve privileges that were not posted with the modifyAce
request.
|
void |
testMergeAceForUserCombineAggregatePrivilege()
Test for SLING-997, preserve privileges that were not posted with the modifyAce
request.
|
void |
testMergeAceForUserDenyPrivilegeAfterGrantPrivilege()
Test ACE update with a deny privilege for an ACE that already contains
a grant privilege
|
void |
testMergeAceForUserGrantAggregatePrivilegePartsAfterDenyAggregatePrivilege()
Test for SLING-3010
|
void |
testMergeAceForUserGrantNestedAggregatePrivilegeAfterDenySuperAggregatePrivilege()
Test for SLING-3010
|
void |
testMergeAceForUserSplitAggregatePrincipal()
Test for SLING-997, preserve privileges that were not posted with the modifyAce
request.
|
void |
testModifyAceCustomPostResponse()
Test for SLING-7831
|
void |
testModifyAceForGroup() |
void |
testModifyAceForUser() |
void |
testModifyAceResponseAsJSON()
Test for SLING-1677
|
void |
testUpdateAcePreservePosition()
Test to make sure modifying an existing ace without changing the order
leaves the ACE in the same position in the ACL
|
void |
testUpdateAceToMergeNewRestriction()
SLING-8117 - Test to verify merging an ACE with an existing restriction to
the ACL
|
void |
testUpdateAceToRemoveRestriction()
SLING-8117 - Test to verify removing a restriction from an ACE
|
void |
testUpdateAceToRemoveRestrictionWithConflict()
SLING-8117 - Test to verify removing a restriction from an ACE does not happen
if a new value with the same name has also been supplied
|
public void testModifyAceForUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testModifyAceCustomPostResponse()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testModifyAceForGroup()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUserSplitAggregatePrincipal()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUserCombineAggregatePrivilege()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUserDenyPrivilegeAfterGrantPrivilege()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceOrderByFirst()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceOrderByLast()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceOrderByBefore()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceOrderByAfter()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceOrderByNumeric()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testUpdateAcePreservePosition()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testModifyAceResponseAsJSON()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUserGrantNestedAggregatePrivilegeAfterDenySuperAggregatePrivilege()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testMergeAceForUserGrantAggregatePrivilegePartsAfterDenyAggregatePrivilege()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAddAceWithRestriction()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testUpdateAceToMergeNewRestriction()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testUpdateAceToRemoveRestriction()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testUpdateAceToRemoveRestrictionWithConflict()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.