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
IOException
javax.json.JsonException
public void testModifyAceCustomPostResponse() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testModifyAceForGroup() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUser() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUserSplitAggregatePrincipal() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUserCombineAggregatePrivilege() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUserDenyPrivilegeAfterGrantPrivilege() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceOrderByFirst() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceOrderByLast() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceOrderByBefore() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceOrderByAfter() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceOrderByNumeric() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testUpdateAcePreservePosition() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testModifyAceResponseAsJSON() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUserGrantNestedAggregatePrivilegeAfterDenySuperAggregatePrivilege() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testMergeAceForUserGrantAggregatePrivilegePartsAfterDenyAggregatePrivilege() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAddAceWithRestriction() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testUpdateAceToMergeNewRestriction() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testUpdateAceToRemoveRestriction() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testUpdateAceToRemoveRestrictionWithConflict() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.