[midPoint] Accessing different LDAP object in expressions

Pavol Mederly mederly at evolveum.com
Wed Feb 7 12:02:19 CET 2018


Hello Wojciech,

if you would create a shadow for the independent LDAP object, you could 
use standard midPoint methods to manipulate it (midpoint.getObject, 
midpoint.modifyObject).

As for b) - I don't know. I have no experiences with using scripts.

Pavol Mederly
Software developer
evolveum.com

On 06.02.2018 10:26, Wojciech Staszewski wrote:
> Hello!
>
> I must construct mapping expression that reads some attributes from an independed LDAP object and use them as a variables in outbound mapping during LDAP account creation.
> After adding new account I have to save increased values of these attributes back to the same LDAP object.
>
> Questions:
> a) how to access different LDAP object in expression? Is there any special midPoint function for that? Or I have to use raw Groovy commands?
> b) What is the preferred way to send back the updated values to LDAP object after account creation? Using the script capabilities (<operation>add</operation> and <order>after</order>)?
>
> Regards!
> WS
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint




More information about the midPoint mailing list