From 6f3e92e2e4b2e1d40781177dec940f35337a04c3 Mon Sep 17 00:00:00 2001 From: "Mark St. Godard" Date: Tue, 20 Sep 2005 02:31:23 +0000 Subject: [PATCH] started adding Common User Problems to the FAQ..... I will add more as well go.. I will also add the Change Password and other usage patterns such as Disabling and Event publishing, etc --- doc/xdocs/faq.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/xdocs/faq.html b/doc/xdocs/faq.html index a6acb68d11..c740eaf999 100644 --- a/doc/xdocs/faq.html +++ b/doc/xdocs/faq.html @@ -153,6 +153,32 @@ UserDetails, we suggest you write the UserDetails object to the log and check it looks correct.

+

Common Problem #1: My application goes into an "endless loop" when I try to login, what's going on?

+

A common user problem with infinite loop and redirecting to the login page + is caused by accidently configuring the login page as a "secured" resource. + See this forum post for more details.

+ +

Common Problem #2: My application pages don't seem to be protected.

+

If you are securing web resources and they dont seem to be matched in the URL patterns, + check the objectDefinitionSource in the FilterSecurityInterceptor. + If you are using the CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON setting, + then the URL patterns configured MUST be in lowercase. +

+ For example, making a request ending in /someAction.do will need + to be configured as: /someaction.do (Note the case). +

+<property name="objectDefinitionSource">
+  <value>
+    CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+    PATTERN_TYPE_APACHE_ANT
+    /index.jsp=ROLE_ANONYMOUS,ROLE_USER
+    /someaction.do=ROLE_USER     			    
+  <value>
+</property>     
+
+

+ See this forum post for more details.

+

I need some help. What files should I post?

The most important things to post with any support requests on the Spring Forums are your