<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Seems to be a bug. I have created jira issue:<br>
      <br>
      <a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-2753">https://jira.evolveum.com/browse/MID-2753</a><br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Radovan Semancik
Software Architect
evolveum.com
</pre>
      <br>
      <br>
      On 11/05/2015 01:24 PM, <a class="moz-txt-link-abbreviated" href="mailto:midpoint@mybtinternet.com">midpoint@mybtinternet.com</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:30214217.24811.1446726260124.JavaMail.defaultUser@defaultHost"
      type="cite">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>