]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
15 years agoCSPACE-1079: Added getReferencingObjects() support to Organization service.
Richard Millet [Tue, 11 May 2010 21:08:54 +0000 (21:08 +0000)]
CSPACE-1079: Added getReferencingObjects() support to Organization service.

15 years agoCSPACE-1079: Added getReferencingObjects() support to Organization service.
Richard Millet [Tue, 11 May 2010 21:08:05 +0000 (21:08 +0000)]
CSPACE-1079: Added getReferencingObjects() support to Organization service.

15 years agoCSPACE-1792, CSPACE-1781: Fixing pagination problem in Person, Org, and Vocab service...
Richard Millet [Tue, 11 May 2010 05:54:09 +0000 (05:54 +0000)]
CSPACE-1792, CSPACE-1781: Fixing pagination problem in Person, Org, and Vocab services.  Also, add releaseConnection() method to JAX-RS most of ClientResponse calls -still some cleanup needed.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Tue, 11 May 2010 05:52:49 +0000 (05:52 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1482 scaffolding for authorization tests, creates and deletes accounts, roles...
Sanjay Dalal [Mon, 10 May 2010 23:24:39 +0000 (23:24 +0000)]
CSPACE-1482 scaffolding for authorization tests, creates and deletes accounts, roles, permissions, account-role and permission-role relationships. yet to put tests that test permissions created
refactoring of collectionobject, accountrole and permissionrole tests, extracted out factories
added releaseConnection on the test in this checkin
test: security/client

M    services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
A    services/collectionobject/client/src/main/java/org/collectionspace/services/client/CollectionObjectFactory.java
M    services/collectionobject/client/pom.xml
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
A    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleFactory.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
A    services/account/client/src/main/java/org/collectionspace/services/client/AccountRoleFactory.java
D    services/security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
A    services/security/client/src/test/java/org/collectionspace/services/security
A    services/security/client/src/test/java/org/collectionspace/services/security/client
A    services/security/client/src/test/java/org/collectionspace/services/security/client/test
A  + services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
M    services/security/client/src/test/resources/log4j.properties
M    services/security/client/pom.xml

15 years agoCSPACE-1482 wired permission delete operation with the spring acl service. still...
Sanjay Dalal [Fri, 7 May 2010 23:39:59 +0000 (23:39 +0000)]
CSPACE-1482 wired permission delete operation with the spring acl service. still to wire role removal with acl update
test: all service tests

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/AuthorizationDelegate.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java

15 years agoCSPACE-1736: Added 'test@collectionspace.org' user to account, authentication, and...
Aron Roberts [Thu, 6 May 2010 22:51:33 +0000 (22:51 +0000)]
CSPACE-1736: Added 'test@collectionspace.org' user to account, authentication, and authorization SQL load scripts in the Services layer.

15 years agoCSPACE-1575 can't login with inactive accounts. returns 403 with an error message.
Sanjay Dalal [Thu, 6 May 2010 21:39:47 +0000 (21:39 +0000)]
CSPACE-1575 can't login with inactive accounts. returns 403 with an error message.
test: added test in security/client

M    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
M    account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M    security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
M    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
M    JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:
Richard Millet [Thu, 6 May 2010 08:09:02 +0000 (08:09 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:

1. Adding additional pagination tests to all Nuxeo based services.
2. Replacing .getAll() calls with .getFiltered
3. Removing dead/deprecated code in many http clients
4. Fixing file refs to test and config files to *not* assume current dir is in classpath.

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Thu, 6 May 2010 08:00:04 +0000 (08:00 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoCSPACE-1482 wired create of permissionrole to spring acl
Sanjay Dalal [Thu, 6 May 2010 00:03:53 +0000 (00:03 +0000)]
CSPACE-1482 wired create of permissionrole to spring acl
disabled authz seed test temporarily
test: authz-mgt all service tests

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleUtil.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/AuthorizationDelegate.java
M    services/authorization-mgt/service/pom.xml
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
M    services/authorization/service/src/main/resources/applicationContext-authorization.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Wed, 5 May 2010 19:57:50 +0000 (19:57 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoNOJIRA: Testing Subversion server.
Richard Millet [Tue, 4 May 2010 09:03:02 +0000 (09:03 +0000)]
NOJIRA: Testing Subversion server.

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:
Richard Millet [Sun, 2 May 2010 04:25:09 +0000 (04:25 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:

1. Adding pagination tests to all Nuxeo based services.
2. Updated POM settings to make some dependency declarations more consistent.

15 years agoCSPACE-1456,CSPACE-533: Services Layer version updated to 0.7-SNAPSHOT (from 0.6...
Aron Roberts [Sat, 1 May 2010 00:38:18 +0000 (00:38 +0000)]
CSPACE-1456,CSPACE-533: Services Layer version updated to 0.7-SNAPSHOT (from 0.6-SNAPSHOT) in all POMs. Ant 'undeploy' targets now remove all relevant services JARs, regardless of version, via a wildcard/glob. Nuxeo doctype JARs are now deployed to the 'plugins' directory, rather than the 'system' directory, of nuxeo.ear.  'undeploy' tasks check for and remove Nuxeo doctype JARs both from the 'plugins' directory and from the old, legacy 'system' directory.

15 years agoCSPACE-1482 a security resource is now tied to a tenant by tenant id. aces are now...
Sanjay Dalal [Fri, 30 Apr 2010 23:26:29 +0000 (23:26 +0000)]
CSPACE-1482 a security resource is now tied to a tenant by tenant id. aces are now tenant-qualified.
test: authz local test, service tests

M    authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M    authorization/service/src/test/resources/test-data/test-permissions.xml
M    authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    authorization/service/pom.xml
M    authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
M    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
M    authentication/service/src/main/java/org/collectionspace/authentication/spi/AuthNContext.java
M    common/src/main/java/org/collectionspace/services/common/security/SecurityContextImpl.java

15 years agoNOJIRA - added handler callbacks (prepare, handle, complete) for delete. Needed to...
Sanjay Dalal [Fri, 30 Apr 2010 23:20:10 +0000 (23:20 +0000)]
NOJIRA - added handler callbacks (prepare, handle, complete) for delete. Needed to plugin stuff affected because of CUD on entities.
test: services tests

15 years agoNOJIRA introduced high level security context for service runtime. provides access...
Sanjay Dalal [Fri, 30 Apr 2010 19:03:56 +0000 (19:03 +0000)]
NOJIRA introduced high level security context for service runtime. provides access to userid, tenantid and tenantname. uses authn context underneath.
test: all service tests

M    context/ServiceContext.java
M    context/AbstractServiceContextImpl.java
A    security/SecurityContext.java
A    security/SecurityContextImpl.java

15 years agoNOJIRA refactoring based on walkthrough discussion, renamed securitycontextutils...
Sanjay Dalal [Fri, 30 Apr 2010 17:29:56 +0000 (17:29 +0000)]
NOJIRA refactoring based on walkthrough discussion, renamed securitycontextutils->authncontext, added utility method to retrieve tenant name
test: all service tests

M    authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
D    authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceDbRealm.java
A    authentication/service/src/main/java/org/collectionspace/authentication/realm/db
A  + authentication/service/src/main/java/org/collectionspace/authentication/realm/db/CSpaceDbRealm.java
D    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringSecurityContextUtils.java
A  + authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
A    authentication/service/src/main/java/org/collectionspace/authentication/spi
A  + authentication/service/src/main/java/org/collectionspace/authentication/spi/AuthNContext.java
D    authentication/service/src/main/java/org/collectionspace/authentication/SecurityContextUtils.java
M    authentication/service/src/main/java/org/collectionspace/authentication/jaas/CSpaceJBossDBLoginModule.java

15 years agoCSPACE-1520 unique constraint violation on userid now sends back 400 with a message...
Sanjay Dalal [Thu, 29 Apr 2010 19:34:58 +0000 (19:34 +0000)]
CSPACE-1520 unique constraint violation on userid now sends back 400 with a message instead of 500
extracted out cs idp persistence management into UserStorageClient
test: account service

M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
A    services/account/service/src/main/java/org/collectionspace/services/account/storage/csidp
A    services/account/service/src/main/java/org/collectionspace/services/account/storage/csidp/UserStorageClient.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1649 partial update for permission fixed to take into account the action list
Sanjay Dalal [Thu, 29 Apr 2010 00:32:17 +0000 (00:32 +0000)]
CSPACE-1649 partial update for permission fixed to take into account the action list
minor messages fixes
test: authorization-mgt (added updateactions test), service tests

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java

15 years agoCSPACE-1207: Display names for ID Generators for Loan In and Loan Out now correspond...
Aron Roberts [Wed, 28 Apr 2010 22:40:25 +0000 (22:40 +0000)]
CSPACE-1207: Display names for ID Generators for Loan In and Loan Out now correspond to names given on their respective wiki schema pages.

15 years agoCSPACE-1660: Summary lists of ID Generators now include display names with each ID...
Aron Roberts [Wed, 28 Apr 2010 22:34:00 +0000 (22:34 +0000)]
CSPACE-1660: Summary lists of ID Generators now include display names with each ID Generator item in the list, along with CSIDs and relative URLs.

15 years agoCSPACE-1580,CSPACE-1627: Updates to ID Generator records are now temporarily row...
Aron Roberts [Wed, 28 Apr 2010 20:26:54 +0000 (20:26 +0000)]
CSPACE-1580,CSPACE-1627: Updates to ID Generator records are now temporarily row-locked via 'SELECT ... FOR UPDATE', to facilitate concurrent requests for new IDs, until such time as we move the current values of ID Parts out of ID Generator records altogether.  Fixed a driver initialization bug that resulted in a 'No suitable driver found' error on the first call to the ID Service after starting the 'cspace' server.

15 years agoCSPACE-1489 inserted basic auth entry point into exceptiontranslation filter to promp...
Sanjay Dalal [Wed, 28 Apr 2010 17:46:14 +0000 (17:46 +0000)]
CSPACE-1489 inserted basic auth entry point into exceptiontranslation filter to prompt the user to login. earlier it used to send 403 back to the user
test: accessed accounts after loging in through browser, ran all service tests

M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination...
Richard Millet [Wed, 28 Apr 2010 08:57:39 +0000 (08:57 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination support in list response payloads of all Nuxeo based services.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoNOJIRA: Removing "target" directory from revision control.
Richard Millet [Wed, 28 Apr 2010 08:55:13 +0000 (08:55 +0000)]
NOJIRA: Removing "target" directory from revision control.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Wed, 28 Apr 2010 08:53:43 +0000 (08:53 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination...
Richard Millet [Wed, 28 Apr 2010 08:50:27 +0000 (08:50 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination support in list response payloads of all Nuxeo based services.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoCSPACE-1615: Organization service now supports retrieving all authority terms used...
Aron Roberts [Tue, 27 Apr 2010 22:44:35 +0000 (22:44 +0000)]
CSPACE-1615: Organization service now supports retrieving all authority terms used in an Organization record.

15 years agoCSPACE-1458 partial update for jpa based services (account, role, permission)
Sanjay Dalal [Tue, 27 Apr 2010 19:01:12 +0000 (19:01 +0000)]
CSPACE-1458 partial update for jpa based services (account, role, permission)
refactoring of JpaStorageClient
test: tests for jpa services now do partial updates, all service tests

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleUtil.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
A    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContextProperties.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextFactory.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResourceImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
A    services/common/src/main/java/org/collectionspace/services/common/document/JaxbUtils.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountRoleDocumentHandler.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1469: Added ititial paging support to CollectionObjectResource.java.
Richard Millet [Mon, 26 Apr 2010 23:01:10 +0000 (23:01 +0000)]
CSPACE-1469: Added ititial paging support to CollectionObjectResource.java.

15 years agoNOJIRA: Removing commenting out of Authorization module.
Richard Millet [Mon, 26 Apr 2010 18:56:41 +0000 (18:56 +0000)]
NOJIRA: Removing commenting out of Authorization module.

15 years agoCSPACE-1208,CSPACE-1209: Client tests of services once again fully clean up temporary...
Aron Roberts [Mon, 26 Apr 2010 18:56:16 +0000 (18:56 +0000)]
CSPACE-1208,CSPACE-1209: Client tests of services once again fully clean up temporary records created during testing. Following Patrick's lead in PersonAuthRefDocsTest, all cleanUp() methods in client tests now recognize a 'noTestCleanup' system property, which will disable clean up of temporary records for that test run (e.g. 'mvn test -DnoTestCleanup=true -DforkMode=never').

15 years agoNOJIRA: Updating Javadoc comments and commented out unnecessary import statements.
Richard Millet [Sat, 24 Apr 2010 05:29:47 +0000 (05:29 +0000)]
NOJIRA: Updating Javadoc comments and commented out unnecessary import statements.

15 years agoNOJIRA: Pom file cleanup. Removed redundant maven-compiler-plugin declarations and...
Richard Millet [Sat, 24 Apr 2010 05:28:55 +0000 (05:28 +0000)]
NOJIRA: Pom file cleanup.  Removed redundant maven-compiler-plugin declarations and other misc pom changes.

15 years agoNOJIRA - documented schema for javadoc
Sanjay Dalal [Fri, 23 Apr 2010 23:38:04 +0000 (23:38 +0000)]
NOJIRA - documented schema for javadoc

M    services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd

15 years agoCSPACE-1521 screen name is no more unique. only userid is unique across all realms...
Sanjay Dalal [Fri, 23 Apr 2010 23:32:09 +0000 (23:32 +0000)]
CSPACE-1521 screen name is no more unique. only userid is unique across all realms including csip realm
test: account

M    account/jaxb/src/main/resources/accounts_common.xsd
M    account/pstore/src/main/resources/db/mysql/account.sql
M    account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1292: Properly added Loan Out (aka Loans Out) service to undeploy and dist...
Aron Roberts [Fri, 23 Apr 2010 22:10:59 +0000 (22:10 +0000)]
CSPACE-1292: Properly added Loan Out (aka Loans Out) service to undeploy and dist targets in main services Ant buildfile, rectifying two copy and paste errors resulting from the hasty checkin in r1849.

15 years agoCSPACE-901,CSPACE-1577: Apply changes made to other client test classes in CSPACE...
Aron Roberts [Fri, 23 Apr 2010 22:04:42 +0000 (22:04 +0000)]
CSPACE-901,CSPACE-1577: Apply changes made to other client test classes in CSPACE-901 to the recently added PersonAuthRefDocsTest, in the Intake module: declaring and initializing HttpClient-based classes within individual test methods, rather than at the class level.

15 years agoCSPACE-1596
Sanjay Dalal [Fri, 23 Apr 2010 21:35:38 +0000 (21:35 +0000)]
CSPACE-1596
CSPACE-1595
beefed up error reporting. common messages declared in common/ServiceMessages.java (should eventually go into a message bundle for i18n).
invalid password now returns 400 instead of 500
test: account, permission, role, accrole, permrole

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
A    services/common/src/main/java/org/collectionspace/services/common/ServiceMessages.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountValidatorHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1510
Sanjay Dalal [Fri, 23 Apr 2010 17:34:01 +0000 (17:34 +0000)]
CSPACE-1510
CSPACE-1538
added validation for relationship services. validation is performed in handler for create. object id of the relationship is checked during get and delete in the jpa storage client.
on delete of account or permission, related roles are also deleted (not in the same tx though)
test: account, accountrole, permission, permissionrole, all services

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java

15 years agoCSPACE-1489 cleaned up spring security metadata...work in progress for 1489
Sanjay Dalal [Fri, 23 Apr 2010 17:31:33 +0000 (17:31 +0000)]
CSPACE-1489 cleaned up spring security metadata...work in progress for 1489
test: service level tests pass, 403 from browser still present

M    JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

15 years agoCSPACE-1207,CSPACE-1221: Added generators for Loan Out (aka Loans Out) IDs and Locati...
Aron Roberts [Thu, 22 Apr 2010 20:20:08 +0000 (20:20 +0000)]
CSPACE-1207,CSPACE-1221: Added generators for Loan Out (aka Loans Out) IDs and Location and Movement IDs to the set of ID generators loaded by the ID Service SQL load script.

15 years agoCSPACE-1286: Fixed trivial copy-and-paste typo in schemaLocation for Loan In service...
Aron Roberts [Thu, 22 Apr 2010 02:54:33 +0000 (02:54 +0000)]
CSPACE-1286: Fixed trivial copy-and-paste typo in schemaLocation for Loan In service in tenant-bindings.xml

15 years agoNOJIRA - refactored JpaStorageClient, extracted out utilities into JpaStorageUtils...
Sanjay Dalal [Wed, 21 Apr 2010 20:45:48 +0000 (20:45 +0000)]
NOJIRA - refactored JpaStorageClient, extracted out utilities into JpaStorageUtils so that some of those (getEntity) could be used for validation
DocumentFilter#getQueryParams returns empty list of query para values but not null
test: all tests, account and authorization-mgt

M    account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountValidatorHandler.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionJpaFilter.java
M    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
A    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java

15 years agoNOJIRA PermissionRoleSubResource now uses JpaRelationshipStorageClient (also used...
Sanjay Dalal [Wed, 21 Apr 2010 18:01:19 +0000 (18:01 +0000)]
NOJIRA PermissionRoleSubResource now uses JpaRelationshipStorageClient (also used by AccountRoleSubResource)
test: authorization-mgt

D    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java
M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java

15 years agoCSPACE-1079 Search for documents that refer to a given Person item. Added support...
Patrick Schmitz [Wed, 21 Apr 2010 06:15:30 +0000 (06:15 +0000)]
CSPACE-1079 Search for documents that refer to a given Person item. Added support for describing which services are objects and which are procedures. Added support to describe which fields hold refnames. Added support to describe which fields should be used to provide summary values in the results. Only supported for PersonAuthority. Still need to add this for OrgAuthority as well.

15 years agoCSPACE-1292: Add Loan Out (aka Loans Out ervice) to services/build.xml deploy, undepl...
Aron Roberts [Tue, 20 Apr 2010 23:41:18 +0000 (23:41 +0000)]
CSPACE-1292: Add Loan Out (aka Loans Out ervice) to services/build.xml deploy, undeploy, and dist targets.

15 years agoCSPACE-1303, CSPACE-1359 disassociate role(s) from account
Sanjay Dalal [Mon, 19 Apr 2010 22:07:44 +0000 (22:07 +0000)]
CSPACE-1303, CSPACE-1359 disassociate role(s) from account
CSPACE-1313, CSPACE-1358 associate role(s) to account
CSPACE-1347 account-role relationship schema
test: account-role service tests, all service tests exception loanout

created xxxFactory for Account, Role and Permission service tests so that these could be used from tests elsewhere

15 years agoCSPACE-1291: Additional directories for Loan Out (aka Loans Out) service, possibly...
Aron Roberts [Mon, 19 Apr 2010 22:04:23 +0000 (22:04 +0000)]
CSPACE-1291: Additional directories for Loan Out (aka Loans Out) service, possibly not picked up by initial check-in.

15 years agoNOJIRA service deployment messages are now info (instead of debug)
Sanjay Dalal [Mon, 19 Apr 2010 21:16:04 +0000 (21:16 +0000)]
NOJIRA service deployment messages are now info (instead of debug)

M    config/TenantBindingConfigReaderImpl.java

15 years agoCSPACE-1533: Remove 'cspace' from the end of the value of the 'url' attribute of...
Aron Roberts [Mon, 19 Apr 2010 19:03:37 +0000 (19:03 +0000)]
CSPACE-1533: Remove 'cspace' from the end of the value of the 'url' attribute of the 'sql' task, in the 'create_db' target. On some occasions, such as a first-time install, the cspace database may not exist prior to running init_db.sql, and the presence of that database name in the URL might result in an 'Unknown database' error.

15 years agoCSPACE-1292: Initial release of the Loan Out (aka Loans Out) service. Introduces...
Aron Roberts [Sat, 17 Apr 2010 00:10:02 +0000 (00:10 +0000)]
CSPACE-1292: Initial release of the Loan Out (aka Loans Out) service.  Introduces a new Nuxeo document type, and thus requires 'ant deploy' and restarting the two JBoss servers.

15 years agoCSPACE-1518 refactoring
Sanjay Dalal [Fri, 16 Apr 2010 23:04:15 +0000 (23:04 +0000)]
CSPACE-1518 refactoring
test: authorization-mgt

M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java

15 years agoNOJIRA - added debug in base authz service and some exceptions
Sanjay Dalal [Fri, 16 Apr 2010 19:17:06 +0000 (19:17 +0000)]
NOJIRA - added debug in base authz service and some exceptions
test: authz service test

M    authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
A    authorization/service/src/main/java/org/collectionspace/services/authorization/PermissionNotFoundException.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.java
A    authorization/service/src/main/java/org/collectionspace/services/authorization/PermissionException.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionEvaluator.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceAction.java

15 years agoCSPACE-1518 added metadata to permission role relationship
Sanjay Dalal [Fri, 16 Apr 2010 17:52:32 +0000 (17:52 +0000)]
CSPACE-1518 added metadata to permission role relationship
common authz xml types are in authorization_common.xsd and imported into relationship xsds
test: authorization-mgt, authorization

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M    services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
A  + services/authorization/jaxb/src/main/resources/accounts_roles.xsd
D    services/authorization/jaxb/src/main/resources/users_roles.xsd
A    services/authorization/jaxb/src/main/resources/authorization_common.xsd
M    services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M    services/authorization/pstore/src/main/resources/db/mysql/authorization.sql

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Fri, 16 Apr 2010 16:57:28 +0000 (16:57 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default...
Richard Millet [Fri, 16 Apr 2010 16:54:13 +0000 (16:54 +0000)]
CSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default page size, making a convention that query params are part of the service context, giving docHandlers a default filter, removing some of the ubiquitous Generics warnings, refactored resource service code to minimize duplicated code and boiler plating.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoCSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default...
Richard Millet [Fri, 16 Apr 2010 10:10:58 +0000 (10:10 +0000)]
CSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default page size, making a convention that query params are part of the service context, giving docHandlers a default filter, removing some of the ubiquitous Generics warnings, refactored resource service code to minimize duplicated code and boiler plating.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Fri, 16 Apr 2010 10:05:12 +0000 (10:05 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1494,CSPACE-873: Lists of Acquisitions records, for now, return a list of...
Aron Roberts [Thu, 15 Apr 2010 23:07:09 +0000 (23:07 +0000)]
CSPACE-1494,CSPACE-873: Lists of Acquisitions records, for now, return a list of acquisition sources, along with the acquisition reference number, CSID, and URL.  Utility method, etc. now used in AcquisitionDocumentModelHandler to split 'qualified' repeatable field names from values, copied from private code in DocumentUtils, might be made public in a common package elsewhere.

15 years agoCSPACE-1494,CSPACE-873: Temporarily stub-out return of acquisitionSource in acquisiti...
Aron Roberts [Thu, 15 Apr 2010 20:09:07 +0000 (20:09 +0000)]
CSPACE-1494,CSPACE-873: Temporarily stub-out return of acquisitionSource in acquisitions list items, pending a more durable solution to returning one (or more) instances of repeatable field values in minimal profile of list items.  Ultimately may return the value of the 'primary' instance of a repeatable field, per Patrick.

15 years agoCSPACE-901: Initialize HTTPClient-based clients only within test methods annotated...
Aron Roberts [Thu, 15 Apr 2010 03:47:45 +0000 (03:47 +0000)]
CSPACE-901: Initialize HTTPClient-based clients only within test methods annotated with TestNG's @Test, not at the class level.  This issue has led at least once to test failures, not just warnings, and needed to be addressed at this time.

15 years agoCSPACE-1489
Sanjay Dalal [Wed, 14 Apr 2010 23:46:03 +0000 (23:46 +0000)]
CSPACE-1489
this change is required but may not fix the problem. the web security filter passess through authenticated requests (with or without rememberme). service tests passed. curl asked for password and retrieved accounts successfully too. firefox was still giving 403.

_M   services/sdk
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

15 years agoCSPACE-1301 associate role(s) to permi
Sanjay Dalal [Wed, 14 Apr 2010 20:27:24 +0000 (20:27 +0000)]
CSPACE-1301 associate role(s) to permi
CSPACE-1302 dis-associate role(s) from perm
CSPACE-1347 role-perm schema
added permission-role relationship. service is available as a subresource of permissions service (/permissions/{csid}/permroles). supports post, get and delete only. this version of delete deletes all associations for a permission.
test: authz-mgt, all services
requires: ant create_db at the service level

M    services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleUtil.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
_M   services/authorization-mgt/client
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
A    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
A    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleClient.java
A    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleProxy.java
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AbstractAuthorizationTestImpl.java
D    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
A  + services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M    services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    services/authorization/jaxb/src/main/resources/users_roles.xsd
M    services/authorization/jaxb/src/main/resources/permissions.xsd
M    services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M    services/authorization/pstore/src/test/resources/META-INF/persistence.xml
_M   services/jaxb
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    services/common/src/main/config/services/tenant-bindings.xml
M    services/common/pom.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M    services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java

15 years agoCSPACE-1304 create permission
Sanjay Dalal [Thu, 8 Apr 2010 01:33:34 +0000 (01:33 +0000)]
CSPACE-1304 create permission
fix for r1766 uses include instead of import
test: why does it matter?

M    services/authorization/jaxb/src/main/resources/permissions_list.xsd
M    services/authorization/jaxb/src/main/resources/roles_list.xsd

15 years agoCSPACE-1304 create permission
Sanjay Dalal [Wed, 7 Apr 2010 18:23:06 +0000 (18:23 +0000)]
CSPACE-1304 create permission
CSPACE-1305 delete permission
CPSACE-1306 get permission
CSPACE-1307 update permission
CSPACE-1309 search permission with resource name only
CSPACE-1311 list permissions

added new service authorization/permissions first checkin. permissions are yet to be plugged in with spring acls.
minor copyright javadoc changes in role and account classes
jpastorageclient now supports delete (with parent deleting children) and deletewhere (a shallow delete with where clause)

test: mvn test at the service level, added PermissionServiceTest in authorization-mgt/client

M    services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
_M   services/authorization-mgt/service
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleStorageConstants.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionJpaFilter.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionStorageConstants.java
A    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
A    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
A    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionClient.java
A    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionProxy.java
M    services/authorization/jaxb/src/main/resources/roles.xsd
A    services/authorization/jaxb/src/main/resources/permissions_list.xsd
M    services/authorization/jaxb/src/main/resources/permissions.xsd
M    services/authorization/jaxb/src/main/resources/roles_list.xsd
M    services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    services/common/src/main/config/services/tenant-bindings.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
D    services/account/client/src/test/java/org/collectionspace/services/client

15 years agoCSPACE-1402 similar change in security client test
Sanjay Dalal [Wed, 7 Apr 2010 16:58:12 +0000 (16:58 +0000)]
CSPACE-1402 similar change in security client test

M    client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java

15 years agoCSPACE-1402 removed double b64 encoding in test and double b64 decoding from the...
Sanjay Dalal [Tue, 6 Apr 2010 19:32:11 +0000 (19:32 +0000)]
CSPACE-1402 removed double b64 encoding in test and double b64 decoding from the service
test: account tests

M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1395: Now truly reverted malformedXml-related test methods in CollectionObject...
Aron Roberts [Mon, 5 Apr 2010 23:55:29 +0000 (23:55 +0000)]
CSPACE-1395: Now truly reverted malformedXml-related test methods in CollectionObjectServiceTest to stub methods.

15 years agoCSPACE-1286: Adding additional directories in the loanin module, which were inadverte...
Aron Roberts [Mon, 5 Apr 2010 23:39:40 +0000 (23:39 +0000)]
CSPACE-1286: Adding additional directories in the loanin module, which were inadvertently omitted in previous commits.  These directories are mostly or entirely empty, save for SVN-related and/or IDE-related files (which are not being committed in this check-in), but nonetheless match the standard Maven project directory hierarchy in other modules.

15 years agoCSPACE-1395,CSPACE-1094: Moved Sanjay's validation-related test code in CollectionObj...
Aron Roberts [Mon, 5 Apr 2010 23:32:17 +0000 (23:32 +0000)]
CSPACE-1395,CSPACE-1094: Moved Sanjay's validation-related test code in CollectionObjectServiceTest from malformedXml-related test methods to new, validation-related test methods. Reverted malformedXml-related test methods to stubs.

15 years agoCSPACE-1397 roles is tied to a tenant. tenant id is added to role at create time.
Sanjay Dalal [Mon, 5 Apr 2010 22:04:44 +0000 (22:04 +0000)]
CSPACE-1397 roles is tied to a tenant. tenant id is added to role at create time.
test: authz-mgt

M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M    services/authorization/jaxb/src/main/resources/roles.xsd
M    services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M    services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M    services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java

15 years agoNOJIRA in r1747 forgot to uncomment authorization-mgt module from main service pom.
Sanjay Dalal [Mon, 5 Apr 2010 20:25:22 +0000 (20:25 +0000)]
NOJIRA in r1747 forgot to uncomment authorization-mgt module from main service pom.

M    services/pom.xml

15 years agoCSPACE-1293 create a role
Sanjay Dalal [Mon, 5 Apr 2010 19:50:20 +0000 (19:50 +0000)]
CSPACE-1293 create a role
CSPACE-1294 delete a role
CSPACE-1295 get a role
CSPACE-1296 update a role
CSPACE-1310 list roles
CSPACE-1308 search for a role (using role name only)
Refactored roles.xsd into roles.xsd and roles_list.xsd to accommodate XmlRootElement per xsd
Added authorization-mgt service for roles and permissions management. This checkin adds only the RoleResource and corresponding tests.
test: authorization-mgt test, mvn test at the service level
require: ant create_db for the authorization service

M    trunk/services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    trunk/services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M    trunk/services/JaxRsServiceProvider/pom.xml
A    trunk/services/authorization-mgt
A    trunk/services/authorization-mgt/service
A    trunk/services/authorization-mgt/service/src
A    trunk/services/authorization-mgt/service/src/test
A    trunk/services/authorization-mgt/service/src/test/java
A    trunk/services/authorization-mgt/service/src/test/resources
A    trunk/services/authorization-mgt/service/src/main
A    trunk/services/authorization-mgt/service/src/main/java
A    trunk/services/authorization-mgt/service/src/main/java/org
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleStorageConstants.java
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
A    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
A    trunk/services/authorization-mgt/service/src/main/javadoc
A    trunk/services/authorization-mgt/service/src/main/javadoc/org
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/storage
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/storage/package.html
A    trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/package.html
A    trunk/services/authorization-mgt/service/src/main/javadoc/overview.html
A    trunk/services/authorization-mgt/service/src/main/resources
A    trunk/services/authorization-mgt/service/pom.xml
A    trunk/services/authorization-mgt/service/build.xml
A    trunk/services/authorization-mgt/pom.xml
A    trunk/services/authorization-mgt/build.xml
A    trunk/services/authorization-mgt/client
A    trunk/services/authorization-mgt/client/src
A    trunk/services/authorization-mgt/client/src/test
A    trunk/services/authorization-mgt/client/src/test/java
A    trunk/services/authorization-mgt/client/src/test/java/org
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test
A    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
A    trunk/services/authorization-mgt/client/src/test/resources
A    trunk/services/authorization-mgt/client/src/test/resources/log4j.properties
A    trunk/services/authorization-mgt/client/src/main
A    trunk/services/authorization-mgt/client/src/main/java
A    trunk/services/authorization-mgt/client/src/main/java/org
A    trunk/services/authorization-mgt/client/src/main/java/org/collectionspace
A    trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services
A    trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client
A    trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RoleClient.java
A    trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RoleProxy.java
A    trunk/services/authorization-mgt/client/src/main/javadoc
A    trunk/services/authorization-mgt/client/src/main/javadoc/org
A    trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace
A    trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services
A    trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services/client
A    trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services/client/package.html
A    trunk/services/authorization-mgt/client/src/main/javadoc/overview.html
A    trunk/services/authorization-mgt/client/src/main/resources
A    trunk/services/authorization-mgt/client/pom.xml
A    trunk/services/authorization-mgt/client/build.xml
M    trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    trunk/services/authorization/service/pom.xml
M    trunk/services/authorization/jaxb/src/main/resources/roles.xsd
A    trunk/services/authorization/jaxb/src/main/resources/roles_list.xsd
M    trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M    trunk/services/authentication/service/pom.xml
M    trunk/services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    trunk/services/common/src/main/config/services/tenant-bindings.xml
D    trunk/services/common/src/main/svn-commit.tmp~
D    trunk/services/account/client/src/test/java/org/collectionspace/services/client/test

15 years agoNOJIRA - consolidated plugins into pluginsmanagement of trunk/pom.xml and trunk/servi...
Sanjay Dalal [Fri, 2 Apr 2010 23:22:16 +0000 (23:22 +0000)]
NOJIRA - consolidated plugins into pluginsmanagement of trunk/pom.xml and trunk/services/pom.xml. Shrinked pom.xml of jaxb modules of all the services. No need to give plugin details for commonly used plugins by a cs service.
This change was triggerd by a CNFE for com.sun.xml.bind class during the build. JAXB related dependencies were conflicting between plugins and other places.
test: mvn test at the service layer

15 years agoCSPACE-863 fixed change introduced by http://fisheye.collectionspace.org/changelog...
Sanjay Dalal [Fri, 2 Apr 2010 22:08:57 +0000 (22:08 +0000)]
CSPACE-863 fixed change introduced by http://fisheye.collectionspace.org/changelog/collectionspace?cs=1738. Create new filter only if not available in the context.
test: account service test passes

M    java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java

15 years agoNOJIRA: Updating Eclipse project settings.
Richard Millet [Fri, 2 Apr 2010 19:54:25 +0000 (19:54 +0000)]
NOJIRA: Updating Eclipse project settings.

15 years agoNOJIRA - Updated the pageSize default to 40, from the smaller 10 used for testing.
Patrick Schmitz [Fri, 2 Apr 2010 05:37:43 +0000 (05:37 +0000)]
NOJIRA - Updated the pageSize default to 40, from the smaller 10 used for testing.

15 years agoCSPACE-863 Added support in the configuration for default values in the service confi...
Patrick Schmitz [Fri, 2 Apr 2010 05:34:52 +0000 (05:34 +0000)]
CSPACE-863 Added support in the configuration for default values in the service config, that cascades to set default values in the tenants, and into each service. Added pageSize default to verify this, and adjusted the creation of documentFilter instances to pick up this default. The various resource classes must still be changed to use getFiltered in place of getAll.

15 years agoCSPACE-1050 removed deadwood...@preauthorize is no more used
Sanjay Dalal [Thu, 1 Apr 2010 23:36:07 +0000 (23:36 +0000)]
CSPACE-1050 removed deadwood...@preauthorize is no more used

M    account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    account/service/pom.xml

15 years agoCSPACE-1050 uses ignore error option (like the account service) to continue creating...
Sanjay Dalal [Wed, 31 Mar 2010 23:27:43 +0000 (23:27 +0000)]
CSPACE-1050 uses ignore error option (like the account service) to continue creating tables in case fresh database is created
test: ant create_db on a fresh database from authz service

M    pstore/build.xml

15 years agoCSPACE-1345 added csid to role schema as rolename is not unique in cspace
Sanjay Dalal [Wed, 31 Mar 2010 22:48:16 +0000 (22:48 +0000)]
CSPACE-1345 added csid to role schema as rolename is not unique in cspace
CSPACE-1347 replaced rolename with roleId in association relationships with permission and users, changed query in login-config.xml to reflect this change
test: mvn test at the services level

!!!requires ant clean undeploy deploy at least at services/authentication level as login-config.xml has changed
!!!requires ant create_db at authorization service level

M    services/authentication/service/src/main/resources/config/jboss-login-config.xml
M    services/authentication/service/src/main/resources/config/login-config.xml
_M   services/loanin/service
_M   services/loanin/jaxb
_M   services/loanin/3rdparty/nuxeo-platform-cs-loanin
_M   services/loanin/client
_M   services/account
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M    services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    services/authorization/jaxb/src/main/resources/roles.xsd
M    services/authorization/jaxb/src/main/resources/users_roles.xsd
M    services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M    services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M    services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M    services/authorization/pstore/src/main/resources/db/mysql/authorization.sql

15 years agoCSPACE-1050 disabled construction of uriresource as HTTP HEAD and OPTIONS are not...
Sanjay Dalal [Wed, 31 Mar 2010 22:43:35 +0000 (22:43 +0000)]
CSPACE-1050 disabled construction of uriresource as HTTP HEAD and OPTIONS are not yet mapped to CSpaceActions that could be permitted
mvn tests at services level including client tests

M    common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java

15 years agoCSPACE-1192 added package.htmls and overview.html for the common services
Sanjay Dalal [Tue, 30 Mar 2010 22:54:34 +0000 (22:54 +0000)]
CSPACE-1192 added package.htmls and overview.html for the common services
test: mvn javadoc:aggregate

A    common/src/main/javadoc
A    common/src/main/javadoc/org
A    common/src/main/javadoc/org/collectionspace
A    common/src/main/javadoc/org/collectionspace/services
A    common/src/main/javadoc/org/collectionspace/services/common
A    common/src/main/javadoc/org/collectionspace/services/common/repository
A    common/src/main/javadoc/org/collectionspace/services/common/repository/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/context
A    common/src/main/javadoc/org/collectionspace/services/common/context/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/storage
A    common/src/main/javadoc/org/collectionspace/services/common/storage/jpa
A    common/src/main/javadoc/org/collectionspace/services/common/storage/jpa/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/storage/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/query
A    common/src/main/javadoc/org/collectionspace/services/common/query/nuxeo
A    common/src/main/javadoc/org/collectionspace/services/common/query/nuxeo/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/query/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/config
A    common/src/main/javadoc/org/collectionspace/services/common/config/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/security
A    common/src/main/javadoc/org/collectionspace/services/common/security/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/vocabulary
A    common/src/main/javadoc/org/collectionspace/services/common/vocabulary/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/relation
A    common/src/main/javadoc/org/collectionspace/services/common/relation/nuxeo
A    common/src/main/javadoc/org/collectionspace/services/common/relation/nuxeo/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/relation/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/document
A    common/src/main/javadoc/org/collectionspace/services/common/document/package.html
A    common/src/main/javadoc/org/collectionspace/services/common/package.html
A    common/src/main/javadoc/org/collectionspace/services/nuxeo
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/util
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/util/package.html
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/client
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/client/java
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/client/java/package.html
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/client/package.html
A    common/src/main/javadoc/org/collectionspace/services/nuxeo/package.html
A    common/src/main/javadoc/overview.html

15 years agoCSPACE-1195 added package.htmls and overview.htmls for javadoc for the authorization...
Sanjay Dalal [Tue, 30 Mar 2010 21:20:35 +0000 (21:20 +0000)]
CSPACE-1195 added package.htmls and overview.htmls for javadoc for the authorization service
test: mvn javadoc:aggregate

A    authorization/service/src/test/javadoc
A    authorization/service/src/test/javadoc/org
A    authorization/service/src/test/javadoc/org/collectionspace
A    authorization/service/src/test/javadoc/org/collectionspace/services
A    authorization/service/src/test/javadoc/org/collectionspace/services/authorization
A    authorization/service/src/test/javadoc/org/collectionspace/services/authorization/test
A    authorization/service/src/test/javadoc/org/collectionspace/services/authorization/test/package.html
A    authorization/service/src/main/javadoc
A    authorization/service/src/main/javadoc/org
A    authorization/service/src/main/javadoc/org/collectionspace
A    authorization/service/src/main/javadoc/org/collectionspace/services
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spring
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spring/package.html
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spi
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spi/package.html
A    authorization/service/src/main/javadoc/org/collectionspace/services/authorization/package.html
A    authorization/service/src/main/javadoc/overview.html

15 years agoCSPACE-1193 added package.htmls and overview.htmls for javadoc for authentication...
Sanjay Dalal [Tue, 30 Mar 2010 21:19:09 +0000 (21:19 +0000)]
CSPACE-1193 added package.htmls and overview.htmls for javadoc for authentication service
test: mvn javadoc:aggregate

A    authentication/service/src/main/javadoc
A    authentication/service/src/main/javadoc/org
A    authentication/service/src/main/javadoc/org/collectionspace
A    authentication/service/src/main/javadoc/org/collectionspace/services
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/realm
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/realm/package.html
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/spring
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/spring/package.html
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/package.html
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/jaas
A    authentication/service/src/main/javadoc/org/collectionspace/services/authentication/jaas/package.html
A    authentication/service/src/main/javadoc/overview.html

15 years agoCSPACE-1194 added package.htmls and overview.htmls for account service
Sanjay Dalal [Tue, 30 Mar 2010 21:17:55 +0000 (21:17 +0000)]
CSPACE-1194 added package.htmls and overview.htmls for account service

A    service/src/main/javadoc
A    service/src/main/javadoc/org
A    service/src/main/javadoc/org/collectionspace
A    service/src/main/javadoc/org/collectionspace/services
A    service/src/main/javadoc/org/collectionspace/services/account
A    service/src/main/javadoc/org/collectionspace/services/account/storage
A    service/src/main/javadoc/org/collectionspace/services/account/storage/package.html
A    service/src/main/javadoc/org/collectionspace/services/account/package.html
A    service/src/main/javadoc/overview.html
A    client/src/main/javadoc
A    client/src/main/javadoc/org
A    client/src/main/javadoc/org/collectionspace
A    client/src/main/javadoc/org/collectionspace/services
A    client/src/main/javadoc/org/collectionspace/services/client
A    client/src/main/javadoc/org/collectionspace/services/client/package.html
A    client/src/main/javadoc/overview.html

16 years agoCSPACE-1345 refactored role into roles.xsd, added roles_list and role
Sanjay Dalal [Tue, 30 Mar 2010 00:15:29 +0000 (00:15 +0000)]
CSPACE-1345 refactored role into roles.xsd, added roles_list and role
CSPACE-1346 refactored permission-config to permissions.xsd, removed parent-child relationship between perm and role...made it association, permission-action has parent child rel added id, etc., added list
CSPACE-1347 refactored users_roles into users_roles.xsd, added list
cleaned up persistence.xml, removed list classes if not used in persistence
test: authz gen_ddl, create_db, gentest, seedtest, mvn test at the service level

M    services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M    services/account/pstore/src/test/resources/META-INF/persistence.xml
_M   services/authorization
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
A    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AbstractAuthorizationTestImpl.java
A    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M    services/authorization/service/src/test/resources/test-data/test-permissions.xml
A    services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
D    services/authorization/jaxb/src/test/resources/META-INF/persistence.xml
D    services/authorization/jaxb/src/test/resources/hibernate.cfg.xml
A  + services/authorization/jaxb/src/main/resources/roles.xsd
A    services/authorization/jaxb/src/main/resources/users_roles.xsd
D    services/authorization/jaxb/src/main/resources/authorization_provider.xsd
A    services/authorization/jaxb/src/main/resources/permissions.xsd
A    services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M    services/authorization/pstore/src/test/resources/META-INF/persistence.xml
M    services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M    services/authorization/pstore/src/main/resources/db/mysql/authorization.sql

16 years agoCSPACE-1334: Meaningful error message is now logged if an authority property in tenan...
Aron Roberts [Mon, 29 Mar 2010 20:13:45 +0000 (20:13 +0000)]
CSPACE-1334: Meaningful error message is now logged if an authority property in tenant bindings is invalid.

16 years agoCSPACE-1286: Completed the Loan In (aka Loans In) service. Added authority reference...
Aron Roberts [Mon, 29 Mar 2010 20:12:19 +0000 (20:12 +0000)]
CSPACE-1286: Completed the Loan In (aka Loans In) service.  Added authority references client test back to the module and completed that test class, filled out Nuxeo webapp layout, added convenience JAXB constants, and added additional fields to sample records created in main client test.

16 years agoCSPACE-1286: Adding missing files from initial check-in of Loans In service.
Aron Roberts [Thu, 25 Mar 2010 16:43:01 +0000 (16:43 +0000)]
CSPACE-1286: Adding missing files from initial check-in of Loans In service.

16 years agoCSPACE-1286: Initial, somewhat minimal version of Loans In service. (The service...
Aron Roberts [Thu, 25 Mar 2010 04:20:55 +0000 (04:20 +0000)]
CSPACE-1286: Initial, somewhat minimal version of Loans In service.  (The service's module is named 'loanin' for consistency with other system layers.)  See the relevant JIRA for tasks remaining.  Service is fully functional, but requires completion and adding back of the LoaninAuthRefsTest client test, initially omitted.  Would also benefit by using a larger set of fields in example records in client tests, adding convenience JAXB constants and completing the Nuxeo layout for webapp record editing.

16 years agoCSPACE-1050 merged authz prototype from sanjay's sandbox to trunk. requires the follo...
Sanjay Dalal [Wed, 24 Mar 2010 23:46:37 +0000 (23:46 +0000)]
CSPACE-1050 merged authz prototype from sanjay's sandbox to trunk. requires the following:
ant clean undeploy deploy at the trunk level
may require nuking org/collectionspace, org/jvnet, com/sun packages from local maven repository before building
ant create_db at the trunk level
test: mvn test at the trunk level

note: authorization is disabled at runtime as permissions database is not yet populated with permissions for the test user (role admin)

_M   trunk
A  + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
A  + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringSecurityContextUtils.java
M    trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceUserDetailsService.java
M    trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceAuthorityGranter.java
M    trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceTenant.java
A  + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/SecurityContextUtils.java
_M   trunk/services/authentication/service/src/main/resources/config/web-security-config.xml
M    trunk/services/authentication/service/pom.xml
M    trunk/services/authentication/jaxb/src/test/resources/META-INF/persistence.xml
D    trunk/services/authentication/jaxb/src/test/resources/log4j.properties
M    trunk/services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd
M    trunk/services/authentication/pom.xml
M    trunk/services/authentication/pstore/src/test/resources/META-INF/persistence.xml
D    trunk/services/authentication/pstore/src/test/resources/log4j.properties
M    trunk/services/authentication/pstore/src/main/resources/db/mysql/authentication_index.sql
M    trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authentication.sql
M    trunk/services/authentication/pstore/src/main/resources/db/mysql/authentication.sql
M    trunk/services/authentication/pstore/pom.xml
_M   trunk/services/collectionobject/service/src
_M   trunk/services/collectionobject/service/pom.xml
_M   trunk/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
_M   trunk/services/JaxRsServiceProvider
M    trunk/services/JaxRsServiceProvider/nb-configuration.xml
MM   trunk/services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    trunk/services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
A  + trunk/services/JaxRsServiceProvider/src/main/resources/urls.properties
M    trunk/services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M    trunk/services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
M    trunk/services/JaxRsServiceProvider/pom.xml
A  + trunk/services/common/lib/spring/aopalliance-1.0.jar
A  + trunk/services/common/lib/spring/org.springframework.transaction-3.0.0.RELEASE.jar
D    trunk/services/common/lib/spring/spring-security-core-3.0.1.RELEASE.jar
A  + trunk/services/common/lib/spring/spring-security-core-3.0.2.RELEASE.jar
D    trunk/services/common/lib/spring/spring-security-acl-3.0.1.RELEASE.jar
A  + trunk/services/common/lib/spring/spring-security-acl-3.0.2.RELEASE.jar
A  + trunk/services/common/lib/spring/ehcache-1.6.2.jar
A  + trunk/services/common/lib/spring/org.springframework.context.support-3.0.0.BUILD-20100208195804.jar
D    trunk/services/common/lib/spring/spring-security-config-3.0.1.RELEASE.jar
A  + trunk/services/common/lib/spring/spring-security-config-3.0.2.RELEASE.jar
D    trunk/services/common/lib/spring/spring-security-web-3.0.1.RELEASE.jar
A  + trunk/services/common/lib/spring/spring-security-web-3.0.2.RELEASE.jar
M    trunk/services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
A  + trunk/services/common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentWrapper.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandlerImpl.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentNotFoundException.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentException.java
_M   trunk/services/common/src/main/java/org/collectionspace/services/common/document/BadRequestException.java
M    trunk/services/common/src/main/config/log/jboss-log4j-release.xml
M    trunk/services/common/src/main/config/log/jboss-log4j.xml
_M   trunk/services/common/src/main/resources/service-config.xsd
M    trunk/services/common/pom.xml
M    trunk/services/common/build.xml
M    trunk/services/pom.xml
_M   trunk/services/id
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/StringIDGeneratorPartTest.java
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/AlphabeticIDGeneratorPartTest.java
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/SettableIDGeneratorTest.java
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/YearIDGeneratorPartTest.java
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/NumericIDGeneratorPartTest.java
_M   trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/BaseIDGeneratorTest.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/AlphabeticIDGeneratorPart.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/YearIDGeneratorPart.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/NumericIDGeneratorPart.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/StringIDGeneratorPart.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/IDGeneratorPart.java
_M   trunk/services/id/service/src/main/java/org/collectionspace/services/id/BaseIDGenerator.java
M    trunk/services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    trunk/services/account/service/pom.xml
M    trunk/services/build.xml
A  + trunk/services/authorization
AM + trunk/services/authorization/service
A  + trunk/services/authorization/service/src
A  + trunk/services/authorization/service/src/test
A  + trunk/services/authorization/service/src/test/java
A  + trunk/services/authorization/service/src/test/java/org
A  + trunk/services/authorization/service/src/test/java/org/collectionspace
A  + trunk/services/authorization/service/src/test/java/org/collectionspace/services
A  + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization
A  + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test
A  + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
A  + trunk/services/authorization/service/src/test/resources
A  + trunk/services/authorization/service/src/test/resources/applicationContext-authorization-test.xml
A  + trunk/services/authorization/service/src/test/resources/test-data
A  + trunk/services/authorization/service/src/test/resources/test-data/test-permissions.xml
A  + trunk/services/authorization/service/src/test/resources/log4j.properties
A  + trunk/services/authorization/service/src/main
A  + trunk/services/authorization/service/src/main/java
A  + trunk/services/authorization/service/src/main/java/org
A  + trunk/services/authorization/service/src/main/java/org/collectionspace
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/CSpaceSecurityMetadataSource.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpaceAuthorizationProvider.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionEvaluator.java
A  + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceAction.java
A  + trunk/services/authorization/service/src/main/resources
A  + trunk/services/authorization/service/src/main/resources/applicationContext-authorization.xml
A  + trunk/services/authorization/service/pom.xml
A  + trunk/services/authorization/service/build.xml
AM + trunk/services/authorization/jaxb
A  + trunk/services/authorization/jaxb/.classpath
A  + trunk/services/authorization/jaxb/.project
A  + trunk/services/authorization/jaxb/src
A  + trunk/services/authorization/jaxb/src/test
A  + trunk/services/authorization/jaxb/src/test/resources
A  + trunk/services/authorization/jaxb/src/test/resources/META-INF
A  + trunk/services/authorization/jaxb/src/test/resources/META-INF/persistence.xml
A  + trunk/services/authorization/jaxb/src/test/resources/log4j.properties
A  + trunk/services/authorization/jaxb/src/test/resources/hibernate.cfg.xml
A  + trunk/services/authorization/jaxb/src/main
A  + trunk/services/authorization/jaxb/src/main/resources
A  + trunk/services/authorization/jaxb/src/main/resources/authorization_provider.xsd
A  + trunk/services/authorization/jaxb/pom.xml
A  + trunk/services/authorization/jaxb/.settings
A  + trunk/services/authorization/jaxb/.settings/org.eclipse.jdt.core.prefs
A  + trunk/services/authorization/jaxb/.settings/org.maven.ide.eclipse.prefs
A  + trunk/services/authorization/pom.xml
AM + trunk/services/authorization/pstore
A  + trunk/services/authorization/pstore/.classpath
A  + trunk/services/authorization/pstore/.project
A  + trunk/services/authorization/pstore/src
A  + trunk/services/authorization/pstore/src/test
A  + trunk/services/authorization/pstore/src/test/resources
A  + trunk/services/authorization/pstore/src/test/resources/META-INF
A  + trunk/services/authorization/pstore/src/test/resources/META-INF/persistence.xml
A  + trunk/services/authorization/pstore/src/test/resources/hibernate.cfg.xml
A  + trunk/services/authorization/pstore/src/main
A  + trunk/services/authorization/pstore/src/main/resources
A  + trunk/services/authorization/pstore/src/main/resources/db
A  + trunk/services/authorization/pstore/src/main/resources/db/mysql
A  + trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
A  + trunk/services/authorization/pstore/src/main/resources/db/mysql/acl.sql
A  + trunk/services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
A  + trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
A  + trunk/services/authorization/pstore/pom.xml
A  + trunk/services/authorization/pstore/build.xml
A  + trunk/services/authorization/build.xml
M    trunk/services/client/src/test/java/org/collectionspace/services/client/test/ServiceLayerTest.java
_M   trunk/services/client/src/main/java/org/collectionspace/services/client/test/ServiceTest.java
_M   trunk/services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java
_M   trunk/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClient.java
_M   trunk/src/site
_M   trunk/docs/allteam-061409-toronto
_M   trunk/docs/allteam-061409-toronto/Toronto_BehindTheScenes.pptx
_M   trunk/HelloWorld
_M   trunk/HelloWorld/HelloWorldJaxb/src/main/resources/hello.xsd
_M   trunk/HelloWorld/HelloWorldNuxeoService
_M   trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/HelloworldNuxeoApplication.java

16 years agoCSPACE-1273: CSID should be in the payload of term items for Person and Org services.
Richard Millet [Wed, 24 Mar 2010 08:06:15 +0000 (08:06 +0000)]
CSPACE-1273: CSID should be in the payload of term items for Person and Org services.

16 years agoNOJIRA: Updated missing dependency.
Richard Millet [Wed, 24 Mar 2010 07:42:28 +0000 (07:42 +0000)]
NOJIRA: Updated missing dependency.

16 years agoNOJIRA: Minor cleanup of 'update' test in CollectionObjectServiceTest.
Aron Roberts [Wed, 24 Mar 2010 00:05:19 +0000 (00:05 +0000)]
NOJIRA: Minor cleanup of 'update' test in CollectionObjectServiceTest.

16 years agoCSPACE-1248: Allow values of multivalued, repeatable elements to be null or empty.
Aron Roberts [Wed, 24 Mar 2010 00:02:40 +0000 (00:02 +0000)]
CSPACE-1248: Allow values of multivalued, repeatable elements to be null or empty.

16 years agoCSPACE-1273: REVERTED THIS CHANGE: CSID should be in the payload of term items for...
Richard Millet [Tue, 23 Mar 2010 23:28:14 +0000 (23:28 +0000)]
CSPACE-1273: REVERTED THIS CHANGE: CSID should be in the payload of term items for Person and Org services.