[midPoint] Apply mapping only when user password is changed

Pavol Mederly mederly at evolveum.com
Wed Feb 7 11:48:55 CET 2018


Ľubomír,

I am not sure if this can be reasonably done in the condition. It 
depends on whether there is model operation context or projection 
context present. I am not able to quickly located that in source code now.

The other possibility is to use a model scripting hook as I suggested 
here a few days ago in a similar context. Not easy either, but doable.

Or maybe someone else would have better suggestion. I think this problem 
was solved by someone but I am sorry, I cannot remember.

Pavol Mederly
Software developer
evolveum.com

On 07.02.2018 9:50, Lubomir Odlevak wrote:
> Hi,
>
> I have the following outbound mapping for unlock/lockout user on AD:
>     <attribute>
>             <c:ref>ri:lockoutTime</c:ref>
>             <limitations>
>                <maxOccurs>1</maxOccurs>
>             </limitations>
>             <outbound>
>                <strength>strong</strength>
>                <expression>
>                   <value>0</value>
>                </expression>
>                <condition>
>                   <script>
>                      <code>
>
>                 // Condition is needed to detect password attribut has 
> been changed
>                       </code>
>                   </script>
>                </condition>
>             </outbound>
>          </attribute>
>
>
> It is possible to specify condition in <condition> section to detect 
> mP user's password change  so that outbound mapping would be dependent 
> on password change only ?
>
> Thanks
> Regards
> Lubomir Odlevak
>
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180207/934b4eb9/attachment.htm>


More information about the midPoint mailing list