Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ************************* RESOURCE SNIPPET THAT DEALS WITH SYNCHRONIZATION *******************************************
- <objectSynchronization>
- <name>Sincroniza Organization</name>
- <objectClass>CustomOrganizationObjectClass</objectClass>
- <kind>generic</kind>
- <intent>default</intent>
- <focusType>c:OrgType</focusType>
- <enabled>true</enabled>
- <correlation>
- <q:description>Correlation expression is a search query.
- Following search queury will look for users that have "name"
- equal to the "name" attribute of the account. Simply speaking,
- it will look for match in usernames in the IDM and the resource.
- The correlation rule always looks for users, so it will not match
- any other object type.</q:description>
- <q:equal>
- <q:path>c:name</q:path>
- <expression>
- <c:path>declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; $account/attributes/icfs:name</c:path>
- </expression>
- </q:equal>
- </correlation>
- <reconcile>false</reconcile>
- <reaction>
- <situation>unlinked</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
- </action>
- </reaction>
- <reaction>
- <situation>unmatched</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
- </action>
- </reaction>
- <reaction>
- <situation>linked</situation>
- <synchronize>true</synchronize>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser</handlerUri>
- </action>
- </reaction>
- <reaction>
- <situation>deleted</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
- </action>
- </reaction>
- </objectSynchronization>
- </synchronization>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement