Advertisement
Guest User

Untitled

a guest
Jun 10th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 KB | None | 0 0
  1. <role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
  2. xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
  3. xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
  4. xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
  5. xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
  6. xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
  7. oid="6501b91e-5623-4c08-9e13-8726672ae733"
  8. version="3">
  9. <name>User Group Metarole</name>
  10. <metadata>
  11. <createTimestamp>2016-05-24T23:41:25.735Z</createTimestamp>
  12. <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef>
  13. <createChannel>http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</createChannel>
  14. </metadata>
  15. <inducement id="1">
  16. <construction>
  17. <resourceRef oid="a0741b12-c96d-491d-8213-ecad84ab490e" type="c:ResourceType"><!-- OpenLDAP Accounts Schema --></resourceRef>
  18. <kind>entitlement</kind>
  19. <intent>userGroups_posix</intent>
  20. </construction>
  21. </inducement>
  22. <inducement id="2">
  23. <construction>
  24. <resourceRef oid="a0741b12-c96d-491d-8213-ecad84ab490e" type="c:ResourceType"><!-- OpenLDAP Accounts Schema --></resourceRef>
  25. <kind>entitlement</kind>
  26. <intent>userGroups_GoN</intent>
  27. </construction>
  28. </inducement>
  29. <inducement id="3">
  30. <construction>
  31. <resourceRef oid="a0741b12-c96d-491d-8213-ecad84ab490e" type="c:ResourceType"><!-- OpenLDAP Accounts Schema --></resourceRef>
  32. <kind>account</kind>
  33. <intent>default</intent>
  34. <attribute>
  35. <c:ref>ri:sshPublicKey</c:ref>
  36. <limitations>
  37. <minOccurs>0</minOccurs>
  38. <access>
  39. <read>true</read>
  40. <add>true</add>
  41. <modify>true</modify>
  42. </access>
  43. </limitations>
  44. <outbound>
  45. <expression>
  46. <value>0</value>
  47. </expression>
  48. </outbound>
  49. </attribute>
  50. <attribute>
  51. <c:ref>ri:gidNumber</c:ref>
  52. <outbound>
  53. <expression>
  54. <value>100</value>
  55. </expression>
  56. </outbound>
  57. </attribute>
  58. <association>
  59. <c:ref>userGroups_GoN</c:ref>
  60. <outbound>
  61. <expression>
  62. <associationFromLink>
  63. <projectionDiscriminator>
  64. <kind>entitlement</kind>
  65. <intent>userGroups_GoN</intent>
  66. </projectionDiscriminator>
  67. </associationFromLink>
  68. </expression>
  69. </outbound>
  70. </association>
  71. <association>
  72. <c:ref>userGroups_posix</c:ref>
  73. <outbound>
  74. <expression>
  75. <associationFromLink>
  76. <projectionDiscriminator>
  77. <kind>entitlement</kind>
  78. <intent>userGroups_posix</intent>
  79. </projectionDiscriminator>
  80. </associationFromLink>
  81. </expression>
  82. </outbound>
  83. </association>
  84. </construction>
  85. <order>2</order>
  86. <condition>
  87. <source>
  88. <c:path>$user/employeeType</c:path>
  89. </source>
  90. <expression>
  91. <script>
  92. <code>employeeType == 'user'</code>
  93. </script>
  94. </expression>
  95. </condition>
  96. </inducement>
  97. <inducement id="6">
  98. <construction>
  99. <resourceRef oid="a0741b12-c96d-491d-8213-ecad84ab490e" type="c:ResourceType"><!-- OpenLDAP Accounts Schema --></resourceRef>
  100. <kind>account</kind>
  101. <intent>service</intent>
  102. <attribute>
  103. <c:ref>ri:sshPublicKey</c:ref>
  104. <limitations>
  105. <minOccurs>0</minOccurs>
  106. <access>
  107. <read>true</read>
  108. <add>true</add>
  109. <modify>true</modify>
  110. </access>
  111. </limitations>
  112. <outbound>
  113. <expression>
  114. <value>0</value>
  115. </expression>
  116. </outbound>
  117. </attribute>
  118. <attribute>
  119. <c:ref>ri:gidNumber</c:ref>
  120. <outbound>
  121. <strength>strong</strength>
  122. <source>
  123. <c:path>extension/uidNumber</c:path>
  124. </source>
  125. </outbound>
  126. </attribute>
  127. <association>
  128. <c:ref>userGroups_GoN</c:ref>
  129. <outbound>
  130. <expression>
  131. <associationFromLink>
  132. <projectionDiscriminator>
  133. <kind>entitlement</kind>
  134. <intent>userGroups_GoN</intent>
  135. </projectionDiscriminator>
  136. </associationFromLink>
  137. </expression>
  138. </outbound>
  139. </association>
  140. <association>
  141. <c:ref>userGroups_posix</c:ref>
  142. <outbound>
  143. <expression>
  144. <associationFromLink>
  145. <projectionDiscriminator>
  146. <kind>entitlement</kind>
  147. <intent>userGroups_posix</intent>
  148. </projectionDiscriminator>
  149. </associationFromLink>
  150. </expression>
  151. </outbound>
  152. </association>
  153. </construction>
  154. <order>2</order>
  155. <condition>
  156. <source>
  157. <c:path>$user/employeeType</c:path>
  158. </source>
  159. <expression>
  160. <script>
  161. <code>employeeType == 'service'</code>
  162. </script>
  163. </expression>
  164. </condition>
  165. </inducement>
  166. <inducement id="4">
  167. <focusMappings>
  168. <mapping>
  169. <name>sequenceGID</name>
  170. <strength>weak</strength>
  171. <expression>
  172. <sequentialValue>
  173. <sequenceRef oid="e35a6807-b8c8-4c42-8a71-4ee5c104d9b7"/>
  174. </sequentialValue>
  175. </expression>
  176. <target>
  177. <c:path>extension/gidNumber</c:path>
  178. </target>
  179. </mapping>
  180. </focusMappings>
  181. </inducement>
  182. <inducement id="5">
  183. <focusMappings>
  184. <mapping>
  185. <name>sequenceUID</name>
  186. <strength>weak</strength>
  187. <expression>
  188. <sequentialValue>
  189. <sequenceRef oid="7d4acb8c-65e3-11e5-9ef4-6382ba96fe6c"/>
  190. </sequentialValue>
  191. </expression>
  192. <target>
  193. <c:path>extension/uidNumber</c:path>
  194. </target>
  195. </mapping>
  196. </focusMappings>
  197. <order>2</order>
  198. </inducement>
  199. </role>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement