<div dir="ltr">I need to generate new temp credentials for returning users that have not used their account for years, most of them do not remember their security questions or they have changed mobile phone numbers so they cannot utilize our forgotten password process.<div><br></div><div>I have tested the below and it seems to be working, but since I am not a java guru I am not 100% confident it is correct. Can someone confirm? Mainly the target path</div><div><br></div><div>   <!-- example josm5983 --></div><div><div style="font-size:12.8px">   <mapping></div><div style="font-size:12.8px">      <source></div><div style="font-size:12.8px">         <name>tmpGivenName</name></div><div style="font-size:12.8px">         <path>$user/givenName</path></div><div style="font-size:12.8px">      </source></div><div style="font-size:12.8px">      <source></div><div style="font-size:12.8px">         <name>tmpFamilyName</name></div><div style="font-size:12.8px">         <path>$user/familyName</path></div><div style="font-size:12.8px">      </source></div><div style="font-size:12.8px">      <source></div><div style="font-size:12.8px">         <name>tmpUidnumber</name></div><div style="font-size:12.8px">         <path></div><div style="font-size:12.8px"><span style="white-space:pre-wrap">            </span>declare namespace bshp='<a href="http://midpoint.bshp.edu/schema/bshp" target="_blank">http://midpoint.bshp.edu/schema/bshp</a>';</div><div style="font-size:12.8px"><span style="white-space:pre-wrap">             </span>$c:user/c:extension/bshp:uidnumber</div><div style="font-size:12.8px"><span style="white-space:pre-wrap">    </span></path></div><div style="font-size:12.8px">      </source></div><div style="font-size:12.8px">      <expression></div><div style="font-size:12.8px">         <script></div><div style="font-size:12.8px">            <code></div><div style="font-size:12.8px">                        tmpGivenNameInit = basic.stringify(tmpGivenName)?.size() &gt; 0 ? (basic.stringify(tmpGivenName)).substring(0,2) : ''</div><div style="font-size:12.8px"><span style="white-space:pre-wrap">                     </span>tmpFamilyNameInit = basic.stringify(tmpFamilyName)?.size() &gt; 0 ? (basic.stringify(tmpFamilyName)).substring(0,2) : ''</div><div style="font-size:12.8px">    <span style="white-space:pre-wrap">                   </span>tmp<span style="font-size:12.8px">tmpUidnumber</span>Init = basic.stringify(<span style="font-size:12.8px">tmpUidnumber</span>)?.size() &gt; 0 ? (basic.stringify(<span style="font-size:12.8px">tmpUidnumber</span>)).substring(0,4) : ''</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">                        newPasswd = basic.norm(tmpGivenNameInit + tmpFamilyNameInit + tmp<span style="font-size:12.8px">tmpUidnumber</span>Init)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">                        basic.encrypt(newPasswd)</div><div style="font-size:12.8px"><span style="white-space:pre-wrap">        </span></code></div><div style="font-size:12.8px">         </script></div><div style="font-size:12.8px">      </expression></div><div style="font-size:12.8px">      <target></div><div style="font-size:12.8px">         <path>credentials/password/value</path></div><div style="font-size:12.8px">      </target></div><div style="font-size:12.8px">   </mapping></div></div></div>

<br>
<font size="2"><br><br>CONFIDENTIALITY NOTICE:<br>This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. </font><br>