]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-5985:Adding support for authorization checks for invoking batch jobs.
authorremillet <remillet@yahoo.com>
Sat, 25 Mar 2017 00:32:59 +0000 (17:32 -0700)
committerremillet <remillet@yahoo.com>
Sat, 25 Mar 2017 00:32:59 +0000 (17:32 -0700)
commit1875756bf22ba34de004eecc9669bb704db055c5
tree187abc4820ff4088806fa4b110811b8dd7e890dd
parent7dde6cd7ada31f3405cc61721fc53d070928f47a
CSPACE-5985:Adding support for authorization checks for invoking batch jobs.
65 files changed:
3rdparty/nuxeo/nuxeo-server/7.10-HF17/config/vcsconfig.sql.txt
services/IntegrationTests/pom.xml
services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/ServiceResult.java
services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-create-Template.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-create-permissions.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-create-updateobjloc-nocontext.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-Template.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-gargabe.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchBadInvContext.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-list-empty.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchBadInvContextList.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-list.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchInvContextList.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-nocontext.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-invoke-single.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1InvContext.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1 - Copy (2).xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1 - Copy (3).xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1 - Copy (4).xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1 - Copy (5).xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1.xml [deleted file]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch2.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchInvContextSingle.xml [deleted file]
services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
services/account/jaxb/src/main/resources/accounts_common.xsd
services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RoleClient.java
services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
services/batch/3rdparty/nuxeo-platform-cs-batch/src/main/resources/schemas/batch_common-template.xml [new file with mode: 0644]
services/batch/3rdparty/nuxeo-platform-cs-batch/src/main/resources/schemas/batch_common.xsd
services/batch/3rdparty/nuxeo-platform-cs-batch/src/main/resources/schemas/instance1.xml [new file with mode: 0644]
services/batch/client/src/main/java/org/collectionspace/services/client/BatchClient.java
services/batch/jaxb/pom.xml
services/batch/jaxb/src/main/resources/batch_common-template.xml [new file with mode: 0644]
services/batch/jaxb/src/main/resources/batch_common.xsd
services/batch/jaxb/src/main/resources/batch_common_document.xsd [new file with mode: 0644]
services/batch/jaxb/src/main/resources/instance1.xml [new file with mode: 0644]
services/batch/service/pom.xml
services/batch/service/src/main/java/org/collectionspace/services/batch/AbstractBatchInvocable.java
services/batch/service/src/main/java/org/collectionspace/services/batch/BatchResource.java
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/BatchDocumentModelHandler.java
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/BatchValidatorHandler.java
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/CreateAndLinkLoanOutBatchJob.java
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/TestBatchJob.java [new file with mode: 0644]
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/UpdateObjectLocationBatchJob.java
services/client/src/main/java/org/collectionspace/services/client/PoxPayload.java
services/common-api/src/main/java/org/collectionspace/services/common/api/Tools.java
services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResourceImpl.java
services/common/src/main/java/org/collectionspace/services/common/CollectionSpaceResource.java
services/common/src/main/java/org/collectionspace/services/common/NuxeoBasedResource.java
services/common/src/main/java/org/collectionspace/services/common/ResourceMap.java
services/common/src/main/java/org/collectionspace/services/common/ResourceMapImpl.java
services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
services/common/src/main/java/org/collectionspace/services/common/authorization_mgt/ActionGroup.java [new file with mode: 0644]
services/common/src/main/java/org/collectionspace/services/common/authorization_mgt/AuthorizationCommon.java
services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextImpl.java
services/common/src/main/java/org/collectionspace/services/common/invocable/Invocable.java
services/common/src/main/java/org/collectionspace/services/common/query/UriInfoImpl.java [moved from services/batch/service/src/main/java/org/collectionspace/services/batch/UriInfoImpl.java with 99% similarity]
services/common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
services/common/src/main/java/org/collectionspace/services/common/security/UnauthorizedException.java
services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaDocumentHandler.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java
services/jaxb/src/main/resources/invocationContext.xsd