[midPoint] DatabaseTableConnector organization structure sync

mceylan mrveceylan at gmail.com
Tue May 12 14:55:06 CEST 2020


Thanks for the answer, Ivan. So what should I do to pull the organizational
units from DB Table resource and create and synchronize the organization
tree in midpoint according to parent id and identifier?

Ivan Noris <ivan.noris at evolveum.com>, 12 May 2020 Sal, 14:30 tarihinde şunu
yazdı:

> Hi,
>
> I think DB Table connector supports only AccountObjectClass.
>
> Ivan
>
>
> On 12. 5. 2020 13:06, mceylan wrote:
>
> I get the following error when I set CustomorganizationalUnitObjectClass
> as database resorce object class. What would be the reason?
>
> Error:No objectclass specified and no default can be determined
>
> <default>true</default>
> When I do, I get the following error.
>
> Internal error: Got unexpected exception:
> java.lang.IllegalArgumentException: Operation requires an Account
> ObjectClass.
>
>
>
> <schemaHandling>
>       <objectType id="1">
>          <kind>generic</kind>
>          <default>false</default>
>          <objectClass>ri:CustomorganizationalUnitObjectClass</objectClass>
>          <attribute id="2">
>             <c:ref>icfs:uid</c:ref>
>             <displayName>Entry UUID</displayName>
>             <limitations>
>                <access>
>                   <read>true</read>
>                </access>
>             </limitations>
>          </attribute>
>          <attribute id="3">
>             <c:ref>icfs:name</c:ref>
>             <displayName>Name</displayName>
>             <limitations>
>                <minOccurs>0</minOccurs>
>                <access>
>                   <read>true</read>
>                   <add>true</add>
>                   <modify>true</modify>
>                </access>
>             </limitations>
>             <inbound id="24">
>                <target>
>                   <c:path>$user/employeeNumber</c:path>
>                </target>
>             </inbound>
>             <inbound id="43">
>                <target>
>                   <c:path>$user/name</c:path>
>                </target>
>             </inbound>
>          </attribute>
>          <attribute id="15">
>             <c:ref>ri:parent_id</c:ref>
>             <inbound id="16">
>                <target>
>                   <c:path>$user/extension/parent_id</c:path>
>                </target>
>             </inbound>
>          </attribute>
>          <attribute id="37">
>             <c:ref>ri:identifier</c:ref>
>             <inbound id="39">
>                <target>
>                   <c:path>$user/extension/identifier</c:path>
>                </target>
>             </inbound>
>          </attribute>
>          <attribute id="32">
>             <c:ref>ri:organization_name</c:ref>
>             <inbound id="33">
>                <target>
>                   <c:path>$user/extension/organizationname</c:path>
>                </target>
>             </inbound>
>          </attribute>
>          <activation>
>             <administrativeStatus>
>                <outbound id="5"/>
>                <inbound id="6">
>                   <strength>weak</strength>
>                </inbound>
>             </administrativeStatus>
>          </activation>
>       </objectType>
>    </schemaHandling>
>
>
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttps://lists.evolveum.com/mailman/listinfo/midpoint
>
> --
> Ivan Noris
> Senior Identity Engineerevolveum.com
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
>


-- 
Merve CEYLAN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200512/a45a31ae/attachment.htm>


More information about the midPoint mailing list