public class AccessControlDiscoveryTest extends AbstractAccessControlTest
AccessControlDiscoveryTest...acMgrisReadOnly, jcrBaseVersion, jcrCopiedFrom, jcrCreated, jcrFrozenNode, jcrFrozenUuid, jcrIsCheckedOut, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixShareable, mixSimpleVersionable, mixTitle, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, vf, workspaceName| Constructor and Description |
|---|
AccessControlDiscoveryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAggregregatePrivileges()
Test some simple characteristics of the known aggregate privileges (jcr:write and jcr:all).
|
void |
testAllPrivilege()
Test the jcr:all privilege.
|
void |
testAllPrivilegeContainsAll() |
void |
testGetPrivileges() |
void |
testGetPrivilegesOnNonExistingNode() |
void |
testGetPrivilegesOnProperty() |
void |
testGetSupportedPrivileges() |
void |
testHasIndividualPrivileges() |
void |
testHasPrivileges() |
void |
testHasPrivilegesEmptyArray() |
void |
testHasPrivilegesOnNotExistingNode() |
void |
testHasPrivilegesOnProperty() |
void |
testMandatoryPrivilegeFromName() |
void |
testNotHasPrivileges() |
void |
testPrivilegeFromName() |
void |
testPrivilegeName()
Tests if the privilege name is treated as JCR Name and consequently
reflects changes made to the namespace prefix.
|
void |
testUnknownPrivilegeFromName() |
void |
testWritePrivilege()
Test the jcr:write privilege.
|
checkCanModifyAc, checkCanReadAc, getAccessControlManager, getPathToNonExistingNode, getPathToProperty, privilegesFromName, privilegesFromNames, setUpcheckSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, run, tearDownassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, runTest, setName, toStringpublic void testGetSupportedPrivileges()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testPrivilegeFromName()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testMandatoryPrivilegeFromName()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testUnknownPrivilegeFromName()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testAllPrivilegeContainsAll()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryExceptionNotExecutableExceptionpublic void testAllPrivilege()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryExceptionNotExecutableExceptionpublic void testWritePrivilege()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryException - If an error occurs.NotExecutableException - If the test cannot be executed.public void testAggregregatePrivileges()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void testPrivilegeName()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testGetPrivileges()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testGetPrivilegesOnNonExistingNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testGetPrivilegesOnProperty()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryException - If an error occurs.NotExecutableException - If the test cannot be executed.public void testHasPrivileges()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testHasIndividualPrivileges()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testNotHasPrivileges()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryException - If an error occurs.NotExecutableException - If the test cannot be executed.public void testHasPrivilegesOnNotExistingNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - If an error occurs.public void testHasPrivilegesOnProperty()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryException - If an error occurs.NotExecutableException - If the test cannot be executed.public void testHasPrivilegesEmptyArray()
throws javax.jcr.RepositoryException,
NotExecutableException
javax.jcr.RepositoryException - If an error occurs.NotExecutableException - If the test cannot be executed.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.