diff --git a/samples/annotations/pom.xml b/samples/annotations/pom.xml index 9474d61f33..c5afe15e44 100644 --- a/samples/annotations/pom.xml +++ b/samples/annotations/pom.xml @@ -4,16 +4,16 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples 2.0-SNAPSHOT - acegi-security-sample-annotations + spring-security-sample-annotations Acegi Security System for Spring - Annotations sample - org.acegisecurity - acegi-security-tiger + org.springframework.security + spring-security-core-tiger ${project.version} jar diff --git a/samples/annotations/src/main/resources/applicationContext-annotations.xml b/samples/annotations/src/main/resources/applicationContext-annotations.xml index 52069033a1..c5c5195cf3 100644 --- a/samples/annotations/src/main/resources/applicationContext-annotations.xml +++ b/samples/annotations/src/main/resources/applicationContext-annotations.xml @@ -22,19 +22,19 @@ - + - + my_run_as_password - + - + @@ -45,10 +45,10 @@ - + - + false @@ -56,31 +56,31 @@ - + - - - - + + + + - + false - + - + - @@ -91,9 +91,9 @@ above configuration is a JDK 5 Annotations Attributes-based source. --> - + diff --git a/samples/attributes/pom.xml b/samples/attributes/pom.xml index 612854c78c..9bbdf572eb 100644 --- a/samples/attributes/pom.xml +++ b/samples/attributes/pom.xml @@ -4,11 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples 2.0-SNAPSHOT - acegi-security-sample-attributes + spring-security-sample-attributes Acegi Security System for Spring - Attributes sample diff --git a/samples/attributes/src/main/resources/applicationContext.xml b/samples/attributes/src/main/resources/applicationContext.xml index b20dbc834f..864185deb1 100644 --- a/samples/attributes/src/main/resources/applicationContext.xml +++ b/samples/attributes/src/main/resources/applicationContext.xml @@ -22,19 +22,19 @@ - + - + my_run_as_password - + - + @@ -45,10 +45,10 @@ - + - + false @@ -56,30 +56,30 @@ - + - + - + - + false - + - + - @@ -90,7 +90,7 @@ above configuration is a Commons Attributes-based source. --> diff --git a/samples/contacts/client/clientContext.xml b/samples/contacts/client/clientContext.xml index 814408c801..9c5b088fd7 100644 --- a/samples/contacts/client/clientContext.xml +++ b/samples/contacts/client/clientContext.xml @@ -27,10 +27,10 @@ - - + + --> - + @@ -47,7 +47,7 @@ - + - + - + \ No newline at end of file diff --git a/samples/contacts/pom.xml b/samples/contacts/pom.xml index 58bae326fb..9eb17bede6 100644 --- a/samples/contacts/pom.xml +++ b/samples/contacts/pom.xml @@ -4,18 +4,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples 2.0-SNAPSHOT - acegi-security-samples-contacts + spring-security-samples-contacts Acegi Security System for Spring - Contacts sample war - org.acegisecurity - acegi-security + org.springframework.security + spring-security-core ${project.version} diff --git a/samples/contacts/src/main/java/sample/contact/AddPermission.java b/samples/contacts/src/main/java/sample/contact/AddPermission.java index 0fc2ab4304..8a1cca06e0 100644 --- a/samples/contacts/src/main/java/sample/contact/AddPermission.java +++ b/samples/contacts/src/main/java/sample/contact/AddPermission.java @@ -14,7 +14,7 @@ */ package sample.contact; -import org.acegisecurity.acl.basic.SimpleAclEntry; +import org.springframework.security.acl.basic.SimpleAclEntry; /** diff --git a/samples/contacts/src/main/java/sample/contact/AddPermissionController.java b/samples/contacts/src/main/java/sample/contact/AddPermissionController.java index f45f9de658..b61599876b 100644 --- a/samples/contacts/src/main/java/sample/contact/AddPermissionController.java +++ b/samples/contacts/src/main/java/sample/contact/AddPermissionController.java @@ -14,9 +14,9 @@ */ package sample.contact; -import org.acegisecurity.acls.Permission; -import org.acegisecurity.acls.domain.BasePermission; -import org.acegisecurity.acls.sid.PrincipalSid; +import org.springframework.security.acls.Permission; +import org.springframework.security.acls.domain.BasePermission; +import org.springframework.security.acls.sid.PrincipalSid; import org.springframework.beans.factory.InitializingBean; diff --git a/samples/contacts/src/main/java/sample/contact/AddPermissionValidator.java b/samples/contacts/src/main/java/sample/contact/AddPermissionValidator.java index 5a89518961..ed1c224215 100644 --- a/samples/contacts/src/main/java/sample/contact/AddPermissionValidator.java +++ b/samples/contacts/src/main/java/sample/contact/AddPermissionValidator.java @@ -14,7 +14,7 @@ */ package sample.contact; -import org.acegisecurity.acls.domain.BasePermission; +import org.springframework.security.acls.domain.BasePermission; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; diff --git a/samples/contacts/src/main/java/sample/contact/AdminPermissionController.java b/samples/contacts/src/main/java/sample/contact/AdminPermissionController.java index 67bbe29a7b..ede2cc63dc 100644 --- a/samples/contacts/src/main/java/sample/contact/AdminPermissionController.java +++ b/samples/contacts/src/main/java/sample/contact/AdminPermissionController.java @@ -14,9 +14,9 @@ */ package sample.contact; -import org.acegisecurity.acls.Acl; -import org.acegisecurity.acls.AclService; -import org.acegisecurity.acls.objectidentity.ObjectIdentityImpl; +import org.springframework.security.acls.Acl; +import org.springframework.security.acls.AclService; +import org.springframework.security.acls.objectidentity.ObjectIdentityImpl; import org.springframework.beans.factory.InitializingBean; diff --git a/samples/contacts/src/main/java/sample/contact/ClientApplication.java b/samples/contacts/src/main/java/sample/contact/ClientApplication.java index 029790d880..293f8a1847 100644 --- a/samples/contacts/src/main/java/sample/contact/ClientApplication.java +++ b/samples/contacts/src/main/java/sample/contact/ClientApplication.java @@ -15,11 +15,11 @@ package sample.contact; -import org.acegisecurity.Authentication; +import org.springframework.security.Authentication; -import org.acegisecurity.context.SecurityContextHolder; +import org.springframework.security.context.SecurityContextHolder; -import org.acegisecurity.providers.UsernamePasswordAuthenticationToken; +import org.springframework.security.providers.UsernamePasswordAuthenticationToken; import org.springframework.beans.factory.ListableBeanFactory; diff --git a/samples/contacts/src/main/java/sample/contact/ContactManager.java b/samples/contacts/src/main/java/sample/contact/ContactManager.java index 39d23912b2..b5cc30d8f3 100644 --- a/samples/contacts/src/main/java/sample/contact/ContactManager.java +++ b/samples/contacts/src/main/java/sample/contact/ContactManager.java @@ -14,8 +14,8 @@ */ package sample.contact; -import org.acegisecurity.acls.Permission; -import org.acegisecurity.acls.sid.Sid; +import org.springframework.security.acls.Permission; +import org.springframework.security.acls.sid.Sid; import java.util.List; diff --git a/samples/contacts/src/main/java/sample/contact/ContactManagerBackend.java b/samples/contacts/src/main/java/sample/contact/ContactManagerBackend.java index c85b435f35..947770d76d 100644 --- a/samples/contacts/src/main/java/sample/contact/ContactManagerBackend.java +++ b/samples/contacts/src/main/java/sample/contact/ContactManagerBackend.java @@ -14,22 +14,22 @@ */ package sample.contact; -import org.acegisecurity.Authentication; +import org.springframework.security.Authentication; -import org.acegisecurity.acls.AccessControlEntry; -import org.acegisecurity.acls.MutableAcl; -import org.acegisecurity.acls.MutableAclService; -import org.acegisecurity.acls.NotFoundException; -import org.acegisecurity.acls.Permission; -import org.acegisecurity.acls.domain.BasePermission; -import org.acegisecurity.acls.objectidentity.ObjectIdentity; -import org.acegisecurity.acls.objectidentity.ObjectIdentityImpl; -import org.acegisecurity.acls.sid.PrincipalSid; -import org.acegisecurity.acls.sid.Sid; +import org.springframework.security.acls.AccessControlEntry; +import org.springframework.security.acls.MutableAcl; +import org.springframework.security.acls.MutableAclService; +import org.springframework.security.acls.NotFoundException; +import org.springframework.security.acls.Permission; +import org.springframework.security.acls.domain.BasePermission; +import org.springframework.security.acls.objectidentity.ObjectIdentity; +import org.springframework.security.acls.objectidentity.ObjectIdentityImpl; +import org.springframework.security.acls.sid.PrincipalSid; +import org.springframework.security.acls.sid.Sid; -import org.acegisecurity.context.SecurityContextHolder; +import org.springframework.security.context.SecurityContextHolder; -import org.acegisecurity.userdetails.UserDetails; +import org.springframework.security.userdetails.UserDetails; import org.springframework.beans.factory.InitializingBean; @@ -84,7 +84,7 @@ public class ContactManagerBackend extends ApplicationObjectSupport implements C contact.setId(new Long(counter++)); contactDao.create(contact); - // Grant the current principal administrative permission to the contact + // Grant the current principal administrative permission to the contact addPermission(contact, new PrincipalSid(getUsername()), BasePermission.ADMINISTRATION); if (logger.isDebugEnabled()) { diff --git a/samples/contacts/src/main/java/sample/contact/DataSourcePopulator.java b/samples/contacts/src/main/java/sample/contact/DataSourcePopulator.java index 50ba5edc78..af3d149ef3 100644 --- a/samples/contacts/src/main/java/sample/contact/DataSourcePopulator.java +++ b/samples/contacts/src/main/java/sample/contact/DataSourcePopulator.java @@ -14,22 +14,22 @@ */ package sample.contact; -import org.acegisecurity.Authentication; -import org.acegisecurity.GrantedAuthority; -import org.acegisecurity.GrantedAuthorityImpl; +import org.springframework.security.Authentication; +import org.springframework.security.GrantedAuthority; +import org.springframework.security.GrantedAuthorityImpl; -import org.acegisecurity.acls.MutableAcl; -import org.acegisecurity.acls.MutableAclService; -import org.acegisecurity.acls.Permission; -import org.acegisecurity.acls.domain.AclImpl; -import org.acegisecurity.acls.domain.BasePermission; -import org.acegisecurity.acls.objectidentity.ObjectIdentity; -import org.acegisecurity.acls.objectidentity.ObjectIdentityImpl; -import org.acegisecurity.acls.sid.PrincipalSid; +import org.springframework.security.acls.MutableAcl; +import org.springframework.security.acls.MutableAclService; +import org.springframework.security.acls.Permission; +import org.springframework.security.acls.domain.AclImpl; +import org.springframework.security.acls.domain.BasePermission; +import org.springframework.security.acls.objectidentity.ObjectIdentity; +import org.springframework.security.acls.objectidentity.ObjectIdentityImpl; +import org.springframework.security.acls.sid.PrincipalSid; -import org.acegisecurity.context.SecurityContextHolder; +import org.springframework.security.context.SecurityContextHolder; -import org.acegisecurity.providers.UsernamePasswordAuthenticationToken; +import org.springframework.security.providers.UsernamePasswordAuthenticationToken; import org.springframework.beans.factory.InitializingBean; @@ -111,7 +111,7 @@ public class DataSourcePopulator implements InitializingBean { Encoded password for bill is "wombat" Encoded password for bob is "wombat" Encoded password for jane is "wombat" - + */ template.execute("INSERT INTO USERS VALUES('marissa','a564de63c2d0da68cf47586ee05984d7',TRUE);"); template.execute("INSERT INTO USERS VALUES('dianne','65d15fe9156f9c4bbffd98085992a44e',TRUE);"); diff --git a/samples/contacts/src/main/java/sample/contact/DeletePermissionController.java b/samples/contacts/src/main/java/sample/contact/DeletePermissionController.java index 55c2c42dea..654eccb90d 100644 --- a/samples/contacts/src/main/java/sample/contact/DeletePermissionController.java +++ b/samples/contacts/src/main/java/sample/contact/DeletePermissionController.java @@ -14,11 +14,11 @@ */ package sample.contact; -import org.acegisecurity.acls.AclService; -import org.acegisecurity.acls.Permission; -import org.acegisecurity.acls.domain.BasePermission; -import org.acegisecurity.acls.sid.PrincipalSid; -import org.acegisecurity.acls.sid.Sid; +import org.springframework.security.acls.AclService; +import org.springframework.security.acls.Permission; +import org.springframework.security.acls.domain.BasePermission; +import org.springframework.security.acls.sid.PrincipalSid; +import org.springframework.security.acls.sid.Sid; import org.springframework.beans.factory.InitializingBean; diff --git a/samples/contacts/src/main/resources/applicationContext-common-authorization.xml b/samples/contacts/src/main/resources/applicationContext-common-authorization.xml index 05593ff3c3..e4f8cb218f 100644 --- a/samples/contacts/src/main/resources/applicationContext-common-authorization.xml +++ b/samples/contacts/src/main/resources/applicationContext-common-authorization.xml @@ -22,63 +22,63 @@ - - + - - + - - + - + - + - - + + - + - - + + - + - + - + @@ -92,7 +92,7 @@ - + @@ -103,32 +103,32 @@ - + - + - + - + - + - + - + @@ -136,7 +136,7 @@ - + @@ -147,27 +147,27 @@ + class="org.springframework.security.afterinvocation.AclEntryAfterInvocationCollectionFilteringProvider"> - - + + - + - - + + @@ -184,7 +184,7 @@ ACL_CONTACT_READ attribute, which also ensures the user has permission to the Contact presented as a method argument. --> - + diff --git a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-cas.xml b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-cas.xml index a3522f576e..34613ef958 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-cas.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-cas.xml @@ -14,7 +14,7 @@ - + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -26,7 +26,7 @@ - + @@ -34,22 +34,22 @@ - + - + - + Contacts Realm - + - + @@ -57,7 +57,7 @@ my_password_for_this_auth_provider_only - + @@ -71,27 +71,27 @@ - + - + - + - + - + - + @@ -100,7 +100,7 @@ - + @@ -112,7 +112,7 @@ - + @@ -121,28 +121,28 @@ - - + + - + - + /casfailed.jsp / /j_acegi_cas_security_check - + https://localhost:8443/cas/login - + false @@ -154,7 +154,7 @@ - + diff --git a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-ldap.xml b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-ldap.xml index 23cff61740..70790d403a 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-ldap.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-ldap.xml @@ -16,7 +16,7 @@ - + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -28,7 +28,7 @@ - + @@ -36,21 +36,21 @@ - + - + - + uid={0},ou=people - + ou=groups ou @@ -59,16 +59,16 @@ - + - + - + - + @@ -76,23 +76,23 @@ - + - + /acegilogin.jsp?login_error=1 / /j_acegi_security_check - + /acegilogin.jsp false - + false @@ -104,7 +104,7 @@ - + diff --git a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-x509.xml b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-x509.xml index 54c9e3ec86..770c1f0429 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-x509.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security-x509.xml @@ -14,7 +14,7 @@ - + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -26,7 +26,7 @@ - + @@ -34,23 +34,23 @@ - + - + - + Contacts Realm - + - + @@ -66,21 +66,21 @@ - + - + - + - + @@ -89,7 +89,7 @@ - + @@ -100,7 +100,7 @@ - + @@ -109,23 +109,23 @@ - - + + - + - + - + - + false @@ -137,7 +137,7 @@ - + diff --git a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml index 33a9744e0a..d25000dc41 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml @@ -16,7 +16,7 @@ - + - + @@ -38,13 +38,13 @@ - + - + - + @@ -61,66 +61,66 @@ - + --> - + - + - + Contacts Realm - + foobar anonymousUser,ROLE_ANONYMOUS - + foobar - + - + - + springRocks - + springRocks - + - + - + - + - + @@ -142,21 +142,21 @@ - - + + - + - + - + /acegilogin.jsp?login_error=1 / @@ -164,12 +164,12 @@ - + /acegilogin.jsp false - + false @@ -181,7 +181,7 @@ - + @@ -202,11 +202,11 @@ - + /j_acegi_switch_user /j_acegi_exit_user - /acegi-security-sample-contacts-filter/secure/index.htm + /spring-security-sample-contacts-filter/secure/index.htm diff --git a/samples/contacts/src/main/webapp/WEB-INF/classes/log4j.properties b/samples/contacts/src/main/webapp/WEB-INF/classes/log4j.properties index 2fcccdf433..b2a41fbef5 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/classes/log4j.properties +++ b/samples/contacts/src/main/webapp/WEB-INF/classes/log4j.properties @@ -5,21 +5,21 @@ log4j.rootLogger=WARN, stdout, fileout #log4j.logger.org.springframework.aop.framework.autoproxy.metadata=DEBUG, stdout, fileout #log4j.logger.org.springframework.aop.framework.autoproxy.target=DEBUG, stdout, fileout #log4j.logger.org.springframework.transaction.interceptor=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.intercept=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.intercept.method=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.intercept.web=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.afterinvocation=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.acl=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.acl.basic=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.taglibs.authz=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.ui.basicauth=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.ui.rememberme=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.ui=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.afterinvocation=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.ui.rmi=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.ui.httpinvoker=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.util=DEBUG, stdout, fileout -#log4j.logger.org.acegisecurity.providers.dao=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.intercept=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.intercept.method=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.intercept.web=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.afterinvocation=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.acl=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.acl.basic=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.taglibs.authz=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.ui.basicauth=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.ui.rememberme=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.ui=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.afterinvocation=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.ui.rmi=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.ui.httpinvoker=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.util=DEBUG, stdout, fileout +#log4j.logger.org.springframework.security.providers.dao=DEBUG, stdout, fileout log4j.logger.sample.contact=DEBUG, stdout, fileout # Console output... diff --git a/samples/contacts/src/main/webapp/WEB-INF/web.xml b/samples/contacts/src/main/webapp/WEB-INF/web.xml index 2b4d03e5a2..10ab417eb0 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/web.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/web.xml @@ -47,10 +47,10 @@ Acegi Filter Chain Proxy - org.acegisecurity.util.FilterToBeanProxy + org.springframework.acegisecurityrk.acegisecurity.util.FilterToBeanProxy targetClass - org.acegisecurity.util.FilterChainProxy + org.springframework.security.util.FilterChainProxy @@ -78,7 +78,7 @@ to the WebApplicationContext --> - org.acegisecurity.ui.session.HttpSessionEventPublisher + org.springframework.security.ui.session.HttpSessionEventPublisher - + - - + + - + - + - + - + diff --git a/samples/dms/pom.xml b/samples/dms/pom.xml index 8c194cedda..e7ab4feff5 100644 --- a/samples/dms/pom.xml +++ b/samples/dms/pom.xml @@ -4,16 +4,16 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples 2.0-SNAPSHOT - acegi-security-sample-dms + spring-security-sample-dms Acegi Security System for Spring - dms sample - org.acegisecurity - acegi-security + org.springframework.security + spring-security-core ${project.version} diff --git a/samples/dms/src/main/resources/applicationContext-dms-secure.xml b/samples/dms/src/main/resources/applicationContext-dms-secure.xml index 608b57b3fd..2279907e02 100755 --- a/samples/dms/src/main/resources/applicationContext-dms-secure.xml +++ b/samples/dms/src/main/resources/applicationContext-dms-secure.xml @@ -14,11 +14,11 @@ sample.dms.secured.SecureDocumentDao.*=PROPAGATION_REQUIRED sample.dms.DocumentDao.*=PROPAGATION_REQUIRED - org.acegisecurity.acls.AclService.*=PROPAGATION_REQUIRED - org.acegisecurity.acls.MutableAclService.*=PROPAGATION_REQUIRED - org.acegisecurity.acls.jdbc.JdbcMutableAclService.*=PROPAGATION_REQUIRED - org.acegisecurity.acls.jdbc.JdbcAclService.*=PROPAGATION_REQUIRED - + org.springframework.security.acls.AclService.*=PROPAGATION_REQUIRED + org.springframework.security.acls.MutableAclService.*=PROPAGATION_REQUIRED + org.springframework.security.acls.jdbc.JdbcMutableAclService.*=PROPAGATION_REQUIRED + org.springframework.security.acls.jdbc.JdbcAclService.*=PROPAGATION_REQUIRED + @@ -27,7 +27,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -49,72 +49,72 @@ - + - + - + - + - - + + - + - + - + - + - - + + - + - - org.acegisecurity.acls.domain.BasePermission.ADMINISTRATION + + org.springframework.security.acls.domain.BasePermission.ADMINISTRATION - - org.acegisecurity.acls.domain.BasePermission.READ + + org.springframework.security.acls.domain.BasePermission.READ - - org.acegisecurity.acls.domain.BasePermission.WRITE + + org.springframework.security.acls.domain.BasePermission.WRITE - + - + - - + + sample.dms.AbstractElement @@ -122,20 +122,20 @@ - + - - + + sample.dms.AbstractElement - + - + @@ -148,7 +148,7 @@ - + @@ -158,33 +158,33 @@ - - + + - + - - + + - + - + - + - - + + @@ -192,30 +192,30 @@ - + - + - + - - + + - + - - - + + + diff --git a/samples/pom.xml b/samples/pom.xml index c7cf8ff08e..338bd448b7 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -1,12 +1,12 @@ 4.0.0 - org.acegisecurity - acegi-security-parent + org.springframework.security + spring-security-parent 2.0-SNAPSHOT - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples Acegi Security Samples pom diff --git a/samples/tutorial/pom.xml b/samples/tutorial/pom.xml index c0778a63ad..a999fd593b 100644 --- a/samples/tutorial/pom.xml +++ b/samples/tutorial/pom.xml @@ -2,18 +2,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.acegisecurity - acegi-security-samples + org.springframework.security + spring-security-samples 2.0-SNAPSHOT - org.acegisecurity - acegi-security-samples-tutorial + org.springframework.security + spring-security-samples-tutorial Acegi Security Samples - Tutorial war - org.acegisecurity - acegi-security + org.springframework.security + spring-security-core ${project.version} diff --git a/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml index f105bb134d..fe522ebb57 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml @@ -18,7 +18,7 @@ - + - + - + - + - + @@ -48,41 +48,41 @@ - + - + - + - + - + - + - + - + - - + + @@ -98,31 +98,31 @@ - + - + - + - + - + - + @@ -131,6 +131,6 @@ - + \ No newline at end of file diff --git a/samples/tutorial/src/main/webapp/WEB-INF/classes/log4j.properties b/samples/tutorial/src/main/webapp/WEB-INF/classes/log4j.properties index 2d22f01b3d..b8862a273b 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/classes/log4j.properties +++ b/samples/tutorial/src/main/webapp/WEB-INF/classes/log4j.properties @@ -1,7 +1,7 @@ # Global logging configuration log4j.rootLogger=WARN, stdout, fileout -log4j.logger.org.acegisecurity=DEBUG, stdout, fileout +log4j.logger.org.springframework.security=DEBUG, stdout, fileout # Console output... log4j.appender.stdout=org.apache.log4j.ConsoleAppender diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml index b5dad47408..e65d1c19e1 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml @@ -12,7 +12,7 @@ Acegi Security Tutorial Application - + diff --git a/samples/tutorial/src/main/webapp/accessDenied.jsp b/samples/tutorial/src/main/webapp/accessDenied.jsp index 816d4526f8..8f75cb8341 100644 --- a/samples/tutorial/src/main/webapp/accessDenied.jsp +++ b/samples/tutorial/src/main/webapp/accessDenied.jsp @@ -1,6 +1,6 @@ -<%@ page import="org.acegisecurity.context.SecurityContextHolder" %> -<%@ page import="org.acegisecurity.Authentication" %> -<%@ page import="org.acegisecurity.ui.AccessDeniedHandlerImpl" %> +<%@ page import="org.springframework.security.context.SecurityContextHolder" %> +<%@ page import="org.springframework.security.Authentication" %> +<%@ page import="org.springframework.security.ui.AccessDeniedHandlerImpl" %>

Sorry, access is denied

diff --git a/samples/tutorial/src/main/webapp/acegilogin.jsp b/samples/tutorial/src/main/webapp/acegilogin.jsp index c7a4721140..6b5d4d0f5c 100644 --- a/samples/tutorial/src/main/webapp/acegilogin.jsp +++ b/samples/tutorial/src/main/webapp/acegilogin.jsp @@ -1,7 +1,7 @@ <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %> -<%@ page import="org.acegisecurity.ui.AbstractProcessingFilter" %> -<%@ page import="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter" %> -<%@ page import="org.acegisecurity.AuthenticationException" %> +<%@ page import="org.springframework.security.ui.AbstractProcessingFilter" %> +<%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %> +<%@ page import="org.springframework.security.AuthenticationException" %> @@ -18,8 +18,8 @@

username scott, password wombat (normal user)

username peter, password opal (user disabled)

- - <%-- this form-login-page form is also used as the + + <%-- this form-login-page form is also used as the form-error-page to ask for a login again. --%> @@ -31,7 +31,7 @@

- +
User:value=''>
User:value=''>
Password:
Don't ask for my password for two weeks