[midPoint] Discovering Custom objectClasses
Mencel, Matt
mr-mencel at wiu.edu
Fri Aug 19 17:23:02 CEST 2016
Thanks Radovan,
That helps. Do I declare the auxiliary's attributes in the same place as
the default objectClass then? I'm getting this error in the UI...
There is no attribute named '{
> http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}wiuId' in
> object class '{
> http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}person'
> (defined in schema handling for 'User Account (kind: ACCOUNT, intent:
> person)').
https://gist.github.com/MattMencel/2a3208371a1b0ce422e0b4923df413f7
On Fri, Aug 19, 2016 at 9:54 AM, Radovan Semancik <
radovan.semancik at evolveum.com> wrote:
> Hi,
>
> On 08/19/2016 04:26 PM, Mencel, Matt wrote:
>
> I have multiple LDAP objectclasses that contain all the attributes that
> make up a person's identity. I've associated multiple OCs with the same
> kind/intent in midpoint and am getting a warning in the UI.
>
>> There are multiple schema handling definitions for kind/intent:
>> ACCOUNT/person.
>
> Should I be doing this another way?
>
>
> Yes. Just one of the objectclasses is structural (primary). Other object
> classes are auxiliary. MidPoint fully supports auxiliary object classes,
> but you need to use a slightly different approach. Use something like this:
>
> <schemaHandling>
> <objectType>
> <kind>account</kind>
> <displayName>Normal Account</displayName>
> <default>true</default>
> <objectClass>ri:inetOrgPerson</objectClass>
> <auxiliaryObjectClass>ri:posixAccount</auxiliaryObjectClass>
> <auxiliaryObjectClass>ri:foo</auxiliaryObjectClass>
> <auxiliaryObjectClass>ri:bar</auxiliaryObjectClass>
> ...
>
>
>
>
> --
> Radovan Semancik
> Software Architectevolveum.com
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160819/b416b9d7/attachment.htm>
More information about the midPoint
mailing list