-
Notifications
You must be signed in to change notification settings - Fork 188
/
resource-after-ns-change.xml
226 lines (208 loc) · 12.3 KB
/
resource-after-ns-change.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2013 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!-- This is essentially the same as resource-before just some namespaces, comments and whitespaces are changed.
It is otherwise semantically the same thing. -->
<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
oid="ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff"
xsi:schemaLocation="http://midpoint.evolveum.com/xml/ns/public/common/common-3 ../../../../../../infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd
http://www.w3.org/2001/XMLSchema ../../../../../../infra/schema/src/test/resources/standard/XMLSchema.xsd">
<name>Embedded Test OpenDJ</name>
<connectorRef oid="ef2bc95b-76e0-59e2-86d6-3d4f02d3eedd"/>
<connectorConfiguration xmlns:icfcldap="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.identityconnectors.ldap/org.identityconnectors.ldap.LdapConnector"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
<icfc:configurationProperties>
<icfcldap:port>10389</icfcldap:port>
<icfcldap:host>localhost</icfcldap:host>
<icfcldap:baseContexts>dc=example,dc=com</icfcldap:baseContexts>
<icfcldap:principal>cn=directory manager</icfcldap:principal>
<icfcldap:credentials><clearValue>secret</clearValue></icfcldap:credentials>
<icfcldap:vlvSortAttribute>uid</icfcldap:vlvSortAttribute>
</icfc:configurationProperties>
<icfc:connectorPoolConfiguration>
<icfc:minEvictableIdleTimeMillis>120000</icfc:minEvictableIdleTimeMillis>
<icfc:minIdle>1</icfc:minIdle>
<icfc:maxIdle>10</icfc:maxIdle>
<icfc:maxObjects>10</icfc:maxObjects>
<icfc:maxWait>150000</icfc:maxWait>
</icfc:connectorPoolConfiguration>
<icfc:producerBufferSize>100</icfc:producerBufferSize>
<icfc:timeouts>
<icfc:create>-1</icfc:create>
<icfc:get>-1</icfc:get>
<icfc:update>-1</icfc:update>
<icfc:delete>-1</icfc:delete>
<icfc:test>-1</icfc:test>
<icfc:scriptOnConnector>-1</icfc:scriptOnConnector>
<icfc:scriptOnResource>-1</icfc:scriptOnResource>
<icfc:authentication>-1</icfc:authentication>
<icfc:search>-1</icfc:search>
<icfc:validate>-1</icfc:validate>
<icfc:sync>-1</icfc:sync>
<icfc:schema>-1</icfc:schema>
</icfc:timeouts>
</connectorConfiguration>
<namespace>http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff</namespace>
<schema>
<definition>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" />
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3" />
<xsd:complexType name="GroupObjectClass">
<xsd:annotation>
<xsd:appinfo>
<ra:resourceObject/>
<ra:identifier>icfs:uid</ra:identifier>
<ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
<ra:namingAttribute>icfs:name</ra:namingAttribute>
<ra:nativeObjectClass>__GROUP__</ra:nativeObjectClass>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="seeAlso" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="owner" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="o" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="description" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="objectClass" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="uniqueMember" type="xsd:string" />
<xsd:element maxOccurs="unbounded" name="cn" type="xsd:string" />
<xsd:element ref="icfs:name" />
<xsd:element ref="icfs:uid" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="businessCategory" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ou" type="xsd:string" />
<!-- Moved the c prefix declaration here -->
<xsd:element xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" name="fakePassword"
type="c:ProtectedStringType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
This is fake. It is only for namespace testing and similar wild things.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AccountObjectClass">
<xsd:annotation>
<xsd:appinfo>
<ra:resourceObject/>
<ra:identifier>icfs:uid</ra:identifier>
<ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
<ra:namingAttribute>icfs:name</ra:namingAttribute>
<ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
<ra:account/>
<ra:default/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="internationaliSDNNumber" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="x121Address" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="employeeType" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="pager" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="audio" type="xsd:base64Binary" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="departmentNumber" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="x500UniqueIdentifier" type="xsd:base64Binary" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="postalAddress" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="objectClass" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="givenName" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="mail" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="photo" type="xsd:base64Binary" />
<xsd:element minOccurs="0" name="displayName" type="xsd:string" />
<xsd:element maxOccurs="unbounded" name="cn" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="userPassword" type="xsd:base64Binary" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="physicalDeliveryOfficeName" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="manager" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="homePhone" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="description" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="postOfficeBox" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="homePostalAddress" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="roomNumber" type="xsd:string" />
<xsd:element minOccurs="0" name="employeeNumber" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="facsimileTelephoneNumber" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="userSMIMECertificate" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="l" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="userCertificate" type="xsd:base64Binary" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="teletexTerminalIdentifier" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="jpegPhoto" type="xsd:base64Binary" />
<xsd:element ref="icfs:name" />
<xsd:element minOccurs="0" name="preferredDeliveryMethod" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="userPKCS12" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="postalCode" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="labeledURI" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="telexNumber" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="carLicense" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="street" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="registeredAddress" type="xsd:string" />
<xsd:element maxOccurs="unbounded" name="sn" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="seeAlso" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="secretary" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="mobile" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="uid" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="initials" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="businessCategory" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="telephoneNumber" type="xsd:string" />
<xsd:element ref="icfs:uid" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="o" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="title" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="destinationIndicator" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="st" type="xsd:string" />
<xsd:element minOccurs="0" ref="icfs:password" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ou" type="xsd:string" />
<xsd:element minOccurs="0" name="preferredLanguage" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</definition>
</schema>
<c:schemaHandling>
<!-- No need to schemaHandling in this case. Everything is in schema (annotations) -->
</c:schemaHandling>
<capabilities xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
<configured>
<cap:activation>
<cap:status>
<cap:attribute>ri:ds-pwp-account-disabled</cap:attribute>
<cap:enableValue/>
<cap:disableValue>true</cap:disableValue>
</cap:status>
</cap:activation>
<cap:credentials>
<cap:password/>
</cap:credentials>
<cap:liveSync/>
<cap:testConnection/>
</configured>
</capabilities>
<synchronization>
<objectSynchronization>
<correlation>
<q:equal xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3">
<q:path>c:name</q:path>
<expression>
<path>$account/attributes/ri:uid</path>
</expression>
</q:equal>
</correlation>
</objectSynchronization>
</synchronization>
</resource>