[midPoint] Generate initial password for new user
mikhail.nikolaenko
mikhail.nikolaenko at proton.me
Fri Mar 14 11:32:18 CET 2025
Sorry, that was easy:
Just in objectTemplate define the mapping like this:
<mapping id="25">
<name>credentials</name>
<expression>
<generate>
<valuePolicyRef oid="00000000-0000-0000-0000-000000000003" type="c:ValuePolicyType" xsi:type="c:ObjectReferenceType"/>
</generate>
</expression>
<target>
<path>c:credentials/password/value</path>
</target> </mapping>
WBR,
Mike
On Friday, 14 March 2025 at 11:26 AM, mikhail.nikolaenko via midPoint <midpoint at lists.evolveum.com> wrote:
> Hello!
> Still learning midPoint to present a POC. Now I want to generate initial password for new employee based on pwd policy and also send it via email (means I need to have it stored on person object and be able to read it). I have checked docs and examples, but still could not understand how I can do this. May be someone can point me to the doc or give me a hint?
>
> With best regards,
> Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250314/1e06a2a6/attachment.htm>
More information about the midPoint
mailing list