[midPoint] Two (or more) objectTemplate in resource sync

Jason Everling jeverling at bshp.edu
Sat May 18 21:08:57 CEST 2019


we do, add the object template to each reaction as needed and not there where you have it. Move it for all intents

On May 18, 2019, 13:43, at 13:43, Vladislavs Filipciks <vladislavs.filipciks at csolutions.lv> wrote:
>Hello everyone. 
>
>Does any tried to use two or more objectTemplate in one resource
>synchronization? Is it even possible in MidPoint? 
>
>Resource look like: 
>
><objectType> 
><kind>account</kind> 
><intent>default</intent> 
><displayName>CS Group User Account</displayName> 
>
><objectClass>ri:user</objectClass> 
>... 
></objectType> 
>
><objectType> 
><kind>account</kind> 
><intent>external</intent> 
><displayName>CS AD External Account</displayName> 
>
><objectClass>ri:user</objectClass> 
>.... 
></objectType> 
>
><objectSynchronization> 
><name>Account sync</name> 
><objectClass>ri:user</objectClass> 
><kind>account</kind> 
><intent>default</intent> 
><focusType>UserType</focusType> 
><enabled>true</enabled> 
><correlation> 
><q:equal> 
><q:path>c:name</q:path> 
><expression> 
><path>$shadow/attributes/sAMAccountName</path> 
></expression> 
></q:equal> 
></correlation> 
><objectTemplateRef oid="666-666-111"/> 
>... 
></ objectSynchronization> 
>
><objectSynchronization> 
><name>External Account sync</name> 
><objectClass>ri:user</objectClass> 
><kind>account</kind> 
><intent>external</intent> 
><focusType>UserType</focusType> 
><enabled>true</enabled> 
><correlation> 
><q:equal> 
><q:path>c:name</q:path> 
><expression> 
><path>$shadow/attributes/sAMAccountName</path> 
></expression> 
></q:equal> 
></correlation> 
>
><objectTemplateRef oid="666-666-222"/> 
>... 
></objectSynchronization> 
>
>When I import account with intent default correct objectTemplate is
>used ( 666-666-111 ). 
>But when I try to import account with intent external then the same
>objectTemplate from objectSynchronization of account/default is used -
>666-666-111 , but I would like to use 666-666-222 for account/external
>. 
>
>Thanks in advance. 
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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/20190518/bde9a1ff/attachment.htm>


More information about the midPoint mailing list