JNDIRealm in Tomcat 5.0.29 throws an InvalidNameException while
authenticating
a user if the users LDAP DN contains a slash ('/') or double quote ('"').
These are characters are allowed in LDAP DNs but special characters in
Javas CompositeName
and are not handled correctly in JNDIRealm.

The appended patch against JNDIRealm.java goes through CompositeName to get
an LdapName.

(See attached file: JNDIRealm.java.diff)

Frerk Meyer

EDEKA Aktiengesellschaft
GB Datenverarbeitung
Frerk Meyer
CC Web Technologien
New-York-Ring 6
22297 Hamburg
Tel: 040/6377 - 3272
Fax: 040/6377 - 41268
mailto:[EMAIL PROTECTED]


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

Reply via email to