Package org.fcrepo.auth.integration
Class RootTestResource
java.lang.Object
org.fcrepo.http.commons.AbstractResource
org.fcrepo.auth.integration.RootTestResource
@Scope("prototype")
@Path("/{path: .*}")
public class RootTestResource
extends org.fcrepo.http.commons.AbstractResource
This class acts as the REST Resource endpoint against which integration tests are executed.
This is used instead of the real F4 REST API for two reasons:
- These integration tests are intended to test the AuthZ functionality, not the F4 REST API
- A circular dependency between fcrepo-auth-common <--> fcrepo-http-api is bad
- Since:
- 2014-06-26
- Author:
- awoods
-
Field Summary
Fields inherited from class org.fcrepo.http.commons.AbstractResource
defaultPidMinter, fedoraPropsConfig, headers, pidMinter, resourceFactory, uriInfo, versionService -
Constructor Summary
Constructors -
Method Summary