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