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