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

neil_a_wilson
15.25.2006 9d690194a88200c47b3a1d7ed64efe5890c2943b
opends/src/server/org/opends/server/core/PasswordPolicyState.java
@@ -298,14 +298,10 @@
    assert debugEnter(CLASS_NAME, "getPasswordPolicy");
    // See if the user entry contains the pwdPolicySubentry attribute to select
    // a custom objectclass (whether real or virtual).
    // See if the user entry contains the ds-pwp-password-policy-dn attribute to
    // select a custom objectclass (whether real or virtual).
    AttributeType type =
         DirectoryServer.getAttributeType(OP_ATTR_PWPOLICY_SUBENTRY_LC);
    if (type == null)
    {
      type = DirectoryServer.getDefaultAttributeType(OP_ATTR_PWPOLICY_SUBENTRY);
    }
         DirectoryServer.getAttributeType(OP_ATTR_PWPOLICY_POLICY_DN, true);
    List<Attribute> attrList = userEntry.getAttribute(type);
    if ((attrList == null) || attrList.isEmpty())