/
resource-opendj-initialized.xml
268 lines (250 loc) · 13.7 KB
/
resource-opendj-initialized.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2015 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 version is exactly the same as resource-opendj.xml but it has
already initialized schema and native capabilities. -->
<resource oid="ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff"
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/ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
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>
<!-- NOTE: The connector OID will get dynamically replaced in the integration tests -->
<connectorRef oid="ef2bc95b-76e0-59e2-86d6-3d4f02d3eedd"/>
<connectorConfiguration xmlns:icfcldap="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-ldap/com.evolveum.polygon.connector.ldap.LdapConnector">
<icfc:configurationProperties>
<icfcldap:port>10389</icfcldap:port>
<icfcldap:host>localhost</icfcldap:host>
<icfcldap:baseContext>dc=example,dc=com</icfcldap:baseContext>
<icfcldap:bindDn>cn=directory manager</icfcldap:bindDn>
<icfcldap:bindPassword><t:clearValue>secret</t:clearValue></icfcldap:bindPassword>
<icfcldap:pagingStrategy>auto</icfcldap:pagingStrategy>
<icfcldap:vlvSortAttribute>entryUUID</icfcldap:vlvSortAttribute>
<icfcldap:operationalAttributes>ds-pwp-account-disabled</icfcldap:operationalAttributes>
</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>
<icfc:resultsHandlerConfiguration>
<icfc:enableFilteredResultsHandler>false</icfc:enableFilteredResultsHandler>
</icfc:resultsHandlerConfiguration>
</connectorConfiguration>
<namespace>http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-59e2-86d6-3d4f02d3ffff</namespace>
<schema>
<!-- Storing schema here and don't letting midpoint to generate it. Some tests work without running resource,
generating a schema would fail. -->
<cachingMetadata>
<retrievalTimestamp>2012-03-20T13:02:29.275+01:00</retrievalTimestamp>
<serialNumber>1798eed6def9f54c-3d4bce63faa79272</serialNumber>
</cachingMetadata>
<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:c="http://midpoint.evolveum.com/xml/ns/public/common/common-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="groupsOfUniqueNames">
<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>groupsOfUniqueNames</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" minOccurs="0"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="businessCategory" type="xsd:string" />
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ou" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="inetOrgPerson">
<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>inetOrgPerson</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" minOccurs="0"/>
<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>
<schemaHandling>
<objectType>
<kind>account</kind>
<intent>default</intent>
<displayName>Default Account</displayName>
<default>true</default>
<objectClass>ri:inetOrgPerson</objectClass>
<association>
<ref>ri:group</ref>
<displayName>LDAP Group Membership</displayName>
<kind>entitlement</kind>
<intent>ldapGroup</intent>
<direction>objectToSubject</direction>
<associationAttribute>ri:uniqueMember</associationAttribute>
<valueAttribute>icfs:name</valueAttribute>
</association>
</objectType>
<objectType>
<kind>entitlement</kind>
<intent>ldapGroup</intent>
<displayName>LDAP Group</displayName>
<objectClass>ri:groupsOfUniqueNames</objectClass>
</objectType>
</schemaHandling>
<capabilities xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
<cachingMetadata>
<retrievalTimestamp>2012-03-20T13:02:29.275+01:00</retrievalTimestamp>
<serialNumber>1798eed6def9f54c-3d4bce63faa79272</serialNumber>
</cachingMetadata>
<native>
<cap:credentials>
<cap:password/>
</cap:credentials>
<cap:liveSync/>
<cap:testConnection/>
<cap:script>
<cap:host>
<cap:type>connector</cap:type>
</cap:host>
</cap:script>
<cap:create/>
<cap:read/>
<cap:update/>
<cap:delete/>
</native>
<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/>
-->
<cap:create/>
<cap:read/>
<cap:update/>
<cap:delete/>
</configured>
</capabilities>
</resource>