Package org.fcrepo.integration.http.api
Class FedoraAclIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.FedoraAclIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class FedoraAclIT extends AbstractResourceIT
- Author:
- lsitu, 4/20/2018
-
-
Field Summary
-
Fields inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
authPropsConfig, BASIC_CONTAINER_LINK_HEADER, client, containerWrapper, DCTITLE, DIRECT_CONTAINER_LINK_HEADER, logger, NON_RDF_SOURCE_LINK_HEADER, propsConfig, serverAddress
-
-
Constructor Summary
Constructors Constructor Description FedoraAclIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidtestAddModifyDeleteUserDefinedDefaultRootAcl()voidtestCreateAclOnAclResource()voidtestCreateAclOnBinary()voidtestCreateAclWithAccessTo()voidtestCreateAclWithAccessToClass()voidtestCreateAclWithBody()voidtestCreateAclWithBothAccessToandAccessToClassIsNotAllowed()voidtestCreateAclWithoutAccessToSetsDefaultTarget()voidtestCreateAclWithoutBody()voidtestCreateAndRetrieveAcl()voidtestDeleteAcl()voidtestDeleteDefaultRootAcl()voidtestGetDefaultAcl()voidtestGetDefaultRootAcl()voidtestGetNonExistentAcl()voidtestGetUserDefinedDefaultRootAcl()voidtestPatchAcl()voidtestPatchAclDelete()voidtestPatchDefaultRootAcl()voidtestPutACLBadRdf()-
Methods inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
addTxTo, assertConstrainedByPresent, assertDeleted, assertNoLinkHeader, assertNotDeleted, assertNotFound, checkForLinkHeader, confirmResponseBodyNTriplesAreEqual, createClient, createClient, createDatastream, createDatastream, createObject, createObject, createObjectAndClose, createObjectAndClose, createTransaction, decodeDigestHeader, deleteObjMethod, execute, executeAndClose, executeWithBasicAuth, getBean, getBean, getContentLocation, getContentType, getContentType, getDataset, getDataset, getDSDescMethod, getDSMethod, getEtag, getEtag, getEtag, getExternalContentLinkHeader, getHeader, getLinkHeaders, getLinkHeaders, getLocation, getLocation, getModel, getModel, getModel, getModel, getObjMethod, getOriginalResourceUri, getRandomUniqueId, getStatus, getStatus, getTTLThatUpdatesServerManagedTriples, headerValues, headObjMethod, patchObjMethod, postObjMethod, postObjMethod, preferLink, putDSMethod, putDSMethod, putObjMethod, putObjMethod, restartContainer, setDescriptionProperty, setLogger, setProperty, setProperty, streamModel
-
-
-
-
Constructor Detail
-
FedoraAclIT
public FedoraAclIT()
-
-
Method Detail
-
init
public void init()
-
testCreateAclWithoutBody
public void testCreateAclWithoutBody() throws Exception
- Throws:
Exception
-
testCreateAclOnAclResource
public void testCreateAclOnAclResource() throws Exception
- Throws:
Exception
-
testCreateAclOnBinary
public void testCreateAclOnBinary() throws Exception
- Throws:
Exception
-
testPatchAcl
public void testPatchAcl() throws Exception
- Throws:
Exception
-
testPatchAclDelete
public void testPatchAclDelete() throws Exception
- Throws:
Exception
-
testCreateAndRetrieveAcl
public void testCreateAndRetrieveAcl() throws Exception
- Throws:
Exception
-
testPutACLBadRdf
public void testPutACLBadRdf() throws IOException
- Throws:
IOException
-
testDeleteAcl
public void testDeleteAcl() throws Exception
- Throws:
Exception
-
testGetNonExistentAcl
public void testGetNonExistentAcl()
-
testGetDefaultRootAcl
public void testGetDefaultRootAcl() throws Exception
- Throws:
Exception
-
testDeleteDefaultRootAcl
public void testDeleteDefaultRootAcl()
-
testPatchDefaultRootAcl
public void testPatchDefaultRootAcl()
-
testGetUserDefinedDefaultRootAcl
public void testGetUserDefinedDefaultRootAcl() throws Exception
- Throws:
Exception
-
testAddModifyDeleteUserDefinedDefaultRootAcl
public void testAddModifyDeleteUserDefinedDefaultRootAcl() throws Exception
- Throws:
Exception
-
testCreateAclWithBody
public void testCreateAclWithBody() throws Exception
- Throws:
Exception
-
testCreateAclWithoutAccessToSetsDefaultTarget
public void testCreateAclWithoutAccessToSetsDefaultTarget() throws Exception
- Throws:
Exception
-
testCreateAclWithAccessTo
public void testCreateAclWithAccessTo() throws Exception
- Throws:
Exception
-
testCreateAclWithAccessToClass
public void testCreateAclWithAccessToClass() throws Exception
- Throws:
Exception
-
testCreateAclWithBothAccessToandAccessToClassIsNotAllowed
public void testCreateAclWithBothAccessToandAccessToClassIsNotAllowed() throws Exception
- Throws:
Exception
-
testGetDefaultAcl
public void testGetDefaultAcl() throws Exception
- Throws:
Exception
-
-