The admin application needlessly sets the maximum size of the username
and password fields to 16 characters.  It is VERY easy to run into a
problem with some Realm types (like JNDI, if you are using
fully-qualified LDAP names).  I know a password of 16 characters is a
bit pathological, but the limit is arbitrary and needless.

I have attached a simple patch to this to just get rid of the
maximums.

I have seen two or three emails complaining about this and ran into
this myself today.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/admin/login.jsp,v
retrieving revision 1.7
diff -u -r1.7 login.jsp
--- login.jsp   15 Jan 2003 22:25:17 -0000      1.7
+++ login.jsp   27 Aug 2003 21:08:24 -0000
@@ -51,7 +51,7 @@
         <font color="#FFFFFF"><label for="username"><bean:message 
key="prompt.username"/></label></font>
       </th>
       <td align="left">
-        <input type="text" name="j_username" size="16" maxlength="16" id="username"/>
+        <input type="text" name="j_username" size="16" id="username"/>
       </td>
     </tr>
     <p>
@@ -60,7 +60,7 @@
         <font color="#FFFFFF"><label for="password"><bean:message 
key="prompt.password"/></label></font>
       </th>
       <td align="left">
-        <input type="password" name="j_password" size="16" maxlength="16" 
id="password"/>
+        <input type="password" name="j_password" size="16" id="password"/>
       </td>
     </tr>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to