From 6b54784915bba8b70f4abc83802f04b00f0c5bbe Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Fri, 24 Sep 2004 00:47:53 +0000 Subject: [PATCH] Improved sample applications' bean reference notation. --- changelog.txt | 1 + samples/attributes/src/applicationContext.xml | 14 ++-- .../contacts/etc/ca/applicationContext.xml | 38 +++++------ .../contacts/etc/cas/applicationContext.xml | 68 +++++++++---------- .../etc/filter/applicationContext.xml | 60 ++++++++-------- .../war-root/WEB-INF/applicationContext.xml | 18 ++--- 6 files changed, 100 insertions(+), 99 deletions(-) diff --git a/changelog.txt b/changelog.txt index d6a8a01161..4beb4c0126 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Changes in version 0.x (2004-xx-xx) * Added PasswordAuthenticationProvider for password-validating DAOs (eg LDAP) * Added FilterToBeanProxy compatibility with ContextLoaderServlet (lazy inits) * Added convenience methods to ConfigAttributeDefinition +* Improved sample applications' bean reference notation * Clarified contract for ObjectDefinitionSource.getAttributes(Object) * Extracted removeUserFromCache(String) to UserCache interface * Improved ConfigAttributeEditor so it trims preceding and trailing spaces diff --git a/samples/attributes/src/applicationContext.xml b/samples/attributes/src/applicationContext.xml index 5d919f5b9f..f8e0150755 100644 --- a/samples/attributes/src/applicationContext.xml +++ b/samples/attributes/src/applicationContext.xml @@ -37,7 +37,7 @@ - + @@ -52,7 +52,7 @@ false - + @@ -67,10 +67,10 @@ false - - - - + + + + @@ -86,7 +86,7 @@ - bankService + diff --git a/samples/contacts/etc/ca/applicationContext.xml b/samples/contacts/etc/ca/applicationContext.xml index bb68bb07f7..c96e4c526c 100644 --- a/samples/contacts/etc/ca/applicationContext.xml +++ b/samples/contacts/etc/ca/applicationContext.xml @@ -28,9 +28,9 @@ - - - + + + @@ -47,12 +47,12 @@ - + - - + + @@ -74,8 +74,8 @@ false - - + + @@ -83,9 +83,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_SUPERVISOR,RUN_AS_SERVER @@ -98,9 +98,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_RUN_AS_SERVER @@ -117,22 +117,22 @@ sample.contact.ContactManager - publicContactManagerSecurity - publicContactManagerTarget + + - + sample.contact.ContactManager - backendContactManagerSecurity - backendContactManagerTarget + + diff --git a/samples/contacts/etc/cas/applicationContext.xml b/samples/contacts/etc/cas/applicationContext.xml index 9fb59f0e98..31affe87f3 100644 --- a/samples/contacts/etc/cas/applicationContext.xml +++ b/samples/contacts/etc/cas/applicationContext.xml @@ -24,8 +24,8 @@ - - + + @@ -42,8 +42,8 @@ - - + + @@ -53,17 +53,17 @@ - - - - + + + + my_password_for_this_auth_provider_only https://localhost:8443/cas/proxyValidate https://localhost:8443/contacts-cas/casProxy/receptor - + @@ -72,7 +72,7 @@ - + @@ -96,8 +96,8 @@ false - - + + @@ -105,9 +105,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_SUPERVISOR,RUN_AS_SERVER @@ -120,9 +120,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_RUN_AS_SERVER @@ -139,22 +139,22 @@ sample.contact.ContactManager - publicContactManagerSecurity - publicContactManagerTarget + + - + sample.contact.ContactManager - backendContactManagerSecurity - backendContactManagerTarget + + @@ -164,7 +164,7 @@ - + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -178,8 +178,8 @@ - - + + @@ -190,27 +190,27 @@ - + /casfailed.jsp / /j_acegi_cas_security_check - - + + https://localhost:8443/cas/login - + false - + @@ -219,9 +219,9 @@ The FilterSecurityInterceptor will work from the top of the list down to the FIRST pattern that matches the request URL. Accordingly, you should place MOST SPECIFIC (ie a/b/c/d.*) expressions first, with LEAST SPECIFIC (ie a/.*) expressions last --> - - - + + + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON diff --git a/samples/contacts/etc/filter/applicationContext.xml b/samples/contacts/etc/filter/applicationContext.xml index 2ba6b93205..780a1ae0c0 100644 --- a/samples/contacts/etc/filter/applicationContext.xml +++ b/samples/contacts/etc/filter/applicationContext.xml @@ -24,8 +24,8 @@ - - + + @@ -49,9 +49,9 @@ - - - + + + @@ -62,8 +62,8 @@ - - + + @@ -85,8 +85,8 @@ false - - + + @@ -94,9 +94,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_SUPERVISOR,RUN_AS_SERVER @@ -109,9 +109,9 @@ - - - + + + sample.contact.ContactManager.delete=ROLE_RUN_AS_SERVER @@ -128,22 +128,22 @@ sample.contact.ContactManager - publicContactManagerSecurity - publicContactManagerTarget + + - + sample.contact.ContactManager - backendContactManagerSecurity - backendContactManagerTarget + + @@ -156,7 +156,7 @@ in web.xml for the following beans to be used --> - + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -171,8 +171,8 @@ - - + + @@ -183,15 +183,15 @@ - + /acegilogin.jsp?login_error=1 / /j_acegi_security_check - - + + @@ -203,7 +203,7 @@ false - + @@ -212,9 +212,9 @@ The FilterSecurityInterceptor will work from the top of the list down to the FIRST pattern that matches the request URL. Accordingly, you should place MOST SPECIFIC (ie a/b/c/d.*) expressions first, with LEAST SPECIFIC (ie a/.*) expressions last --> - - - + + + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON diff --git a/samples/quick-start/war-root/WEB-INF/applicationContext.xml b/samples/quick-start/war-root/WEB-INF/applicationContext.xml index 0d828f1cec..d33334146f 100644 --- a/samples/quick-start/war-root/WEB-INF/applicationContext.xml +++ b/samples/quick-start/war-root/WEB-INF/applicationContext.xml @@ -30,8 +30,8 @@ The FilterSecurityInterceptor will work from the top of the list down to the FIRST pattern that matches the request URL. Accordingly, you should place MOST SPECIFIC (ie a/b/c/d.*) expressions first, with LEAST SPECIFIC (ie a/.*) expressions last --> - - + + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON @@ -44,8 +44,8 @@ - - + + @@ -55,7 +55,7 @@ - + @@ -66,21 +66,21 @@ false - + - + /acegilogin.jsp?login_error=1 / /j_acegi_security_check - - + +