Advertisement
carlos18619

Untitled

Nov 7th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. ************************* RESOURCE SNIPPET THAT DEALS WITH SYNCHRONIZATION *******************************************
  2. <objectSynchronization>
  3. <name>Sincroniza Organization</name>
  4. <objectClass>CustomOrganizationObjectClass</objectClass>
  5. <kind>generic</kind>
  6. <intent>default</intent>
  7. <focusType>c:OrgType</focusType>
  8. <enabled>true</enabled>
  9. <correlation>
  10. <q:description>Correlation expression is a search query.&#xD;
  11. Following search queury will look for users that have "name"&#xD;
  12. equal to the "name" attribute of the account. Simply speaking,&#xD;
  13. it will look for match in usernames in the IDM and the resource.&#xD;
  14. The correlation rule always looks for users, so it will not match&#xD;
  15. any other object type.</q:description>
  16. <q:equal>
  17. <q:path>c:name</q:path>
  18. <expression>
  19. <c:path>declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; $account/attributes/icfs:name</c:path>
  20. </expression>
  21. </q:equal>
  22. </correlation>
  23. <reconcile>false</reconcile>
  24. <reaction>
  25. <situation>unlinked</situation>
  26. <reconcile>false</reconcile>
  27. <action>
  28. <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
  29. </action>
  30. </reaction>
  31. <reaction>
  32. <situation>unmatched</situation>
  33. <reconcile>false</reconcile>
  34. <action>
  35. <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
  36. </action>
  37. </reaction>
  38. <reaction>
  39. <situation>linked</situation>
  40. <synchronize>true</synchronize>
  41. <reconcile>false</reconcile>
  42. <action>
  43. <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser</handlerUri>
  44. </action>
  45. </reaction>
  46. <reaction>
  47. <situation>deleted</situation>
  48. <reconcile>false</reconcile>
  49. <action>
  50. <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
  51. </action>
  52. </reaction>
  53. </objectSynchronization>
  54. </synchronization>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement