[midPoint] Generate initial password for new user

Ivan Noris ivan.noris at evolveum.com
Fri Mar 14 14:15:22 CET 2025


Hi,

after you generate the password and want to configure e-mail 
notifications, you may find the following doc interesting: 
https://docs.evolveum.com/midpoint/guides/notifications-howto/

Best regards,

Ivan

On 14. 3. 2025 11:32, mikhail.nikolaenko via midPoint wrote:
> 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
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Expert Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250314/6e2e8a45/attachment-0001.htm>


More information about the midPoint mailing list