View | Details | Raw Unified | Return to bug 37984
Collapse All | Expand All

(-)JNDIRealm.java (-1 / +1 lines)
Lines 1177-1183 Link Here
1177
            // iPlanet support if the values starts with {SHA1}
1177
            // iPlanet support if the values starts with {SHA1}
1178
            // The string is in a format compatible with Base64.encode not
1178
            // The string is in a format compatible with Base64.encode not
1179
            // the Hex encoding of the parent class.
1179
            // the Hex encoding of the parent class.
1180
            if (password.startsWith("{SHA}")) {
1180
            if (password.startsWith("{MD5}") || password.startsWith("{SHA}")) {
1181
                /* sync since super.digest() does this same thing */
1181
                /* sync since super.digest() does this same thing */
1182
                synchronized (this) {
1182
                synchronized (this) {
1183
                    password = password.substring(5);
1183
                    password = password.substring(5);

Return to bug 37984