Interface SecureTestUtil.AccessTestAction

All Superinterfaces:
PrivilegedExceptionAction<Object>
All Known Implementing Classes:
SnapshotWithAclTestBase.AccessReadAction, SnapshotWithAclTestBase.AccessSnapshotAction, SnapshotWithAclTestBase.AccessWriteAction, TestAccessController.BulkLoadAccessTestAction
Enclosing class:
SecureTestUtil

An AccessTestAction performs an action that will be examined to confirm the results conform to expected access rights.

To indicate an action was allowed, return null or a non empty list of KeyValues.

To indicate the action was not allowed, either throw an AccessDeniedException or return an empty list of KeyValues.