/
role-meta-unix-group.xml
73 lines (67 loc) · 2.62 KB
/
role-meta-unix-group.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!--
~ Copyright (c) 2015 Evolveum and contributors
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->
<!-- This is a meta-role. A Role indented to be assigned to other roles.
I really mean assigned, not included or induced. -->
<role oid="31ea66ac-1a8e-11e5-8ab8-001e8c717e5b"
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
xmlns:piracy="http://midpoint.evolveum.com/xml/ns/samples/piracy">
<name>LDAP Unix Metarole</name>
<inducement>
<description>UNIXGROUP-I</description>
<construction>
<description>UNIXGROUP-I</description>
<!-- OpenDJ resource -->
<resourceRef oid="10000000-0000-0000-0000-000000000003" type="c:ResourceType"/>
<kind>entitlement</kind>
<intent>unixGroup</intent>
</construction>
</inducement>
<inducement>
<description>UNIXGROUP-I2</description>
<construction>
<description>UNIXGROUP-I2</description>
<resourceRef oid="10000000-0000-0000-0000-000000000003" type="c:ResourceType"/>
<kind>account</kind>
<intent>default</intent>
<association>
<ref>ri:unixGroup</ref>
<outbound>
<expression>
<associationFromLink>
<projectionDiscriminator>
<kind>entitlement</kind>
<intent>unixGroup</intent>
</projectionDiscriminator>
</associationFromLink>
</expression>
</outbound>
</association>
</construction>
<order>2</order>
</inducement>
<inducement>
<focusMappings>
<mapping>
<name>sequenceGID</name>
<strength>weak</strength>
<expression>
<script>
<code>
1000 - midpoint.getSequenceCounter("02cb7caa-6618-11e5-87a5-7b6c6776a63e")
</code>
</script>
</expression>
<target>
<path>extension/gidNumber</path>
</target>
</mapping>
</focusMappings>
</inducement>
</role>