ASF Bugzilla – Attachment 17249 Details for
Bug 37984
JNDIRealm.java not able to handle MD5 password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Handle password digests that are prefixed with "{MD5}".
JNDIRealm.java.MD5.patch (text/plain), 629 bytes, created by
Eric Lenio
on 2005-12-21 05:52:39 UTC
(
hide
)
Description:
Handle password digests that are prefixed with "{MD5}".
Filename:
MIME Type:
Creator:
Eric Lenio
Created:
2005-12-21 05:52:39 UTC
Size:
629 bytes
patch
obsolete
>--- JNDIRealm.java 2005-09-23 09:45:11.000000000 -0400 >+++ JNDIRealm.java.patched 2005-12-20 23:13:17.000000000 -0500 >@@ -1177,7 +1177,7 @@ > // iPlanet support if the values starts with {SHA1} > // The string is in a format compatible with Base64.encode not > // the Hex encoding of the parent class. >- if (password.startsWith("{SHA}")) { >+ if (password.startsWith("{MD5}") || password.startsWith("{SHA}")) { > /* sync since super.digest() does this same thing */ > synchronized (this) { > password = password.substring(5);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37984
: 17249