Better comment
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 May 2010 19:32:17 +0000 (19:32 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 May 2010 19:32:17 +0000 (19:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@944416 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/manager/util/SessionUtils.java

index 4a37cd0..2e6df33 100644 (file)
@@ -58,7 +58,9 @@ public class SessionUtils {
     private static final String[] LOCALE_TEST_ATTRIBUTES = new String[] {
         STRUTS_LOCALE_KEY, SPRING_LOCALE_KEY, JSTL_LOCALE_KEY, "Locale", "java.util.Locale" };
     /**
-     * Lower and upper-case strings will be dynamically generated. Put mid-capitalised strings here!
+     * For efficient operation, list the attributes here with the typically used
+     * capitalisation. This will be tried first and then the auto-generated
+     * upper and lower case versions will be tried.
      */
     private static final String[] USER_TEST_ATTRIBUTES = new String[] {
         "Login", "User", "userName", "UserName", "Utilisateur",