]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-870 Integrated Spring Security 3.0.2.CI-SNAPSHOT and Spring 3.0.0.RELEASE...
authorSanjay Dalal <sanjay.dalal@berkeley.edu>
Tue, 9 Feb 2010 22:32:22 +0000 (22:32 +0000)
committerSanjay Dalal <sanjay.dalal@berkeley.edu>
Tue, 9 Feb 2010 22:32:22 +0000 (22:32 +0000)
commitd18d5bbe493f2c69c9121e55c8e548e20ba3dbac
tree2449e4dd0f5c50784ff4ae686c79d19d27c15655
parent6b14f1761e9d91818ab101a0676eee2c180d7241
CSPACE-870 Integrated Spring Security 3.0.2.CI-SNAPSHOT and Spring 3.0.0.RELEASE. The JAAS-based CS identity provider (CSIP) is configured successfully as a JAAS authn provider in Spring Security. Added Spring security specific AuthorityGranter and UserDetailsService (test) into authn service.
Refactored DatabaseRealm and CSpaceJBossDBLoginModule (needs package change in login-config.xml of JBoss).
ant deploy is required to copy the Spring specific jars to cspace/lib (of cspace domain). See services/common/lib/README.txt
Spring security is enabled by default. Anonymous access is also enabled by default (allows all tests to run without HTTP basic auth). Security tests could be run with client side security enabled (no need to bounce the server)

A    services/authentication/service/src/main/java/org/collectionspace/authentication/realm
A    services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceRealm.java
A  + services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceDbRealm.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceUserDetailsService.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceAuthorityGranter.java
D    services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceJBossDBLoginModule.java
D    services/authentication/service/src/main/java/org/collectionspace/authentication/DatabaseRealm.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/jaas
A  + services/authentication/service/src/main/java/org/collectionspace/authentication/jaas/CSpaceJBossDBLoginModule.java
M    services/authentication/service/src/main/resources/config/jboss-login-config.xml
M    services/authentication/service/pom.xml
M    services/authentication/service/build.xml
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
A    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/login.conf
A    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
M    services/JaxRsServiceProvider/pom.xml
M    services/JaxRsServiceProvider/build.xml
A    services/common/lib/spring
AM   services/common/lib/spring/org.springframework.asm-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.jdbc-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-web-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.context-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-acl-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.beans-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.core-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-config-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.web-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-core-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.expression-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.aop-3.0.0.BUILD-20100208195804.jar
M    services/common/lib/README.txt
M    services/common/build.xml
27 files changed:
services/JaxRsServiceProvider/build.xml
services/JaxRsServiceProvider/pom.xml
services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml [new file with mode: 0644]
services/JaxRsServiceProvider/src/main/webapp/WEB-INF/login.conf [new file with mode: 0644]
services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
services/authentication/service/build.xml
services/authentication/service/pom.xml
services/authentication/service/src/main/java/org/collectionspace/authentication/jaas/CSpaceJBossDBLoginModule.java [moved from services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceJBossDBLoginModule.java with 93% similarity]
services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceDbRealm.java [moved from services/authentication/service/src/main/java/org/collectionspace/authentication/DatabaseRealm.java with 95% similarity]
services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceRealm.java [new file with mode: 0644]
services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceAuthorityGranter.java [new file with mode: 0644]
services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceUserDetailsService.java [new file with mode: 0644]
services/authentication/service/src/main/resources/config/jboss-login-config.xml
services/common/build.xml
services/common/lib/README.txt
services/common/lib/spring/org.springframework.aop-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.asm-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.beans-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.context-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.core-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.expression-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.jdbc-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/org.springframework.web-3.0.0.BUILD-20100208195804.jar [new file with mode: 0644]
services/common/lib/spring/spring-security-acl-3.0.2.CI-SNAPSHOT.jar [new file with mode: 0644]
services/common/lib/spring/spring-security-config-3.0.2.CI-SNAPSHOT.jar [new file with mode: 0644]
services/common/lib/spring/spring-security-core-3.0.2.CI-SNAPSHOT.jar [new file with mode: 0644]
services/common/lib/spring/spring-security-web-3.0.2.CI-SNAPSHOT.jar [new file with mode: 0644]