Basic file-based repository, with basic access roles authorization enabled. Querying is OFF.
Copy the repository config file shown below to config/repository-basic.json.
Parameter | Suggested values | Notes |
---|---|---|
Modeshape configuration | minimal | -Dfcrepo.modeshape.configuration=classpath:config/repository-basic.json |
Infinispan configuration | basic | |
Is a federated component required? | No | |
Is a sequencing component required? | No | |
Is an authorization layer required? | No | |
Is versioning required? | No |
repository-basic.json
{ "name" : "fedora-unsecured-repo", "jndiName" : "", "workspaces" : { "predefined" : ["default"], "default" : "default", "allowCreation" : true }, "query" : { "enabled" : false }, "storage" : { "cacheName" : "FedoraRepository", "cacheConfiguration" : "${fcrepo.infinispan.cache_configuration:config/infinispan/basic/infinispan.xml}", "binaryStorage" : { "type" : "cache", "dataCacheName" : "FedoraRepositoryBinaryData", "metadataCacheName" : "FedoraRepositoryMetaData" } }, "security" : { "anonymous" : { "roles" : ["readonly","readwrite","admin"], "useOnFailedLogin" : false }, "providers" : [ { "classname" : "org.fcrepo.http.commons.session.BypassSecurityServletAuthenticationProvider" } ] }, "node-types" : ["fedora-node-types.cnd"] }