[midPoint] Password policy issue

midpoint at mybtinternet.com midpoint at mybtinternet.com
Thu Nov 5 13:24:20 CET 2015


Hi,
  Seems to be a new password policy issue(s) for 3.2 ...
  I have a HR feed, csvfile, and this generates a new password on user import. The password generated
  does not meet the minimum length for the default password policy; e.g.
  # ----- default pw policy extract -----
      <limitations>
         <minLength>7</minLength>
         <minUniqueChars>3</minUniqueChars>
         <checkAgainstDictionary>false</checkAgainstDictionary>
         <checkPattern/>
      </limitations>
  # ----- result of import -----
Failed to import: com.evolveum.midpoint.model.api.PolicyViolationException: Provided password does not satisfy
password policies. Required minimal size (7) of password is not met (password length: 6) : Failed to import:
com.evolveum.midpoint.model.api.PolicyViolationException: Provided password does not satisfy password policies.
Required minimal size (7) of password is not met (password length: 6) 
  When referencing another password policy from the feed resource, this seems to be ignored in favour of the
  default password policy; e.g.
  # ----- another pw policy -----
      <limitations>
         <minLength>8</minLength>
         <minUniqueChars>3</minUniqueChars>
         <checkAgainstDictionary>false</checkAgainstDictionary>
         <checkPattern/>
      </limitations>
  # ----- reference another pw policy -----
                <credentials>
                    <password>
                        <inbound>
                            <strength>weak</strength>
                            <expression>
                                <generate/>
                            </expression>
                        </inbound>
                        <passwordPolicyRef oid="c8468dd4-0264-45e0-8752-4a16d0cce79b" type="c:ValuePolicyType"/>
                    </password>
                </credentials>
  Import results in the same error message as before.
Regards,
  Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151105/b1d64581/attachment.htm>


More information about the midPoint mailing list