tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55839] New: DataSourceRealm doesn't handle prefix on password digest
Date Tue, 03 Dec 2013 16:30:00 GMT

            Bug ID: 55839
           Summary: DataSourceRealm doesn't handle prefix on password
           Product: Tomcat 7
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Reporter: 897ty8723tgribvjhbvjh847rt3487rt4_dfvkjdbv23lkdm23klm@

Created attachment 31088
Entire class with additional check for prefix.

Similar to bug #37984 which provided a fix for JNDIRealm, DataSourceRealm
should also remove prefixes of the form {SHA}, {MD5}, etc before comparing the

The attached class(sorry - corporate firewall wouldn't allow me to create a
patch) is suitable for my own needs (where the prefix is provided in lower
case, so is compared case-insensitively), but I acknowledge that a fuller fix
may be more appropriate, e.g. providing a helper method for removing known
prefixes in RealmBase.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message