mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
05.23.2007 b3af2f00d5f29d66eab41d381ee120379acc47db
Fix a problem with the password policy in which online changes to the password
attribute which changed the attribute type from one using the user password
syntax to the auth password syntax (or vice versa) was not handled properly.

OpenDS Issue Number: 1205
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/core/PasswordPolicy.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicy.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.server.core;
@@ -2530,6 +2530,7 @@
    // If we've made it here, then everything is acceptable.  Apply the new
    // configuration.
    passwordAttribute                = p.passwordAttribute;
    authPasswordSyntax               = p.authPasswordSyntax;
    lastLoginTimeAttribute           = p.lastLoginTimeAttribute;
    allowMultiplePasswordValues      = p.allowMultiplePasswordValues;
    allowPreEncodedPasswords         = p.allowPreEncodedPasswords;