tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frerk.Me...@Edeka.de
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
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:frerk.meyer@edeka.de



Mime
View raw message