tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Patch] JNDIRealm throws InvalidNameException if LDAP DN contains '/' or '"' [Auf Viren geprüft]
Date Tue, 16 Nov 2004 14:50:07 GMT
JNDIRealm in Tomcat 5.0.29 throws an InvalidNameException while
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 goes through CompositeName to get
an LdapName.

(See attached file:

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

View raw message