[midPoint] No definition for 'manager' in user
Sean R Penndorf
srpenn at us.ibm.com
Tue Jan 16 20:22:51 CET 2018
Unfortunately that did not work.
Any other ideas?
------------------
Sean Penndorf
SaaS Operational Services (SOS) - ID Management
IBM Cloud
srpenn at us.ibm.com
Office: 248-552-4791 TL 623-9966
From: Ivan Noris <ivan.noris at evolveum.com>
To: midpoint at lists.evolveum.com
Date: 01/16/2018 11:39 AM
Subject: Re: [midPoint] No definition for 'manager' in user
Sent by: "midPoint" <midpoint-bounces at lists.evolveum.com>
Hi Sean,
the extension looks ok.
The inbound is incorrect.
It should look similar to this:
<attribute>
<ref>ri:cn</ref>
. . .
<inbound>
<expression>
... <!-- probably you need to do something here from the resource
attribute -->
</expression>
<target>$user/extension/manager</target> <!-- or
$user/extension/ext:manager if ext namespace prefix is defined -->
</inbound>
</attribute>
This artificial example takes "cn" attribute from LDAP and copies it to
$user/extension/manager.
Best regards,
Ivan
On 16.01.2018 16:24, Sean R Penndorf wrote:
Hi Community,
Clearly, I'm missing something simple here....running Midpoint 3.7
I have an extended attribute "manager", it shows up in the GUI when
looking at User properties.
But I keep getting an error with my inbound mapping: "No definition for
'manager' in user."
I've tried a number of variations in the inbound mapping, but I can't get
the field to populate.
Any assistance is greatly appreciated.
** Extended Attribute: **
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- This is a runtime schema that defines data types used in the
<extension> part of the objects. It is used in some built-in samples. -->
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://sos.ibm.com/xml/ns/sosSchema"
xmlns:tns="http://sos.ibm.com/xml/ns/sosSchema"
xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="UserExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:UserType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="manager" type="xsd:string" minOccurs="0"
maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>manager</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
** Inbound Mapping: **
<attribute id="9">
<c:ref>ri:manager</c:ref>
<matchingRule xmlns:gen316="
http://prism.evolveum.com/xml/ns/public/matching-rule-3
">gen316:distinguishedName</matchingRule>
<tolerant>true</tolerant>
<exclusiveStrong>true</exclusiveStrong>
<fetchStrategy>explicit</fetchStrategy>
<inbound id="10">
<authoritative>true</authoritative>
<exclusive>true</exclusive>
<strength>strong</strength>
<expression>
<c:path xmlns:ext="http://sos.ibm.com/xml/ns/sosSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:type="t:ItemPathType">$user/extension/ext:manager</c:path>
</expression>
<target>
<c:path xmlns:ext="http://sos.ibm.com/xml/ns/sosSchema
">ext:manager</c:path>
</target>
</inbound>
</attribute>
------------------
Sean Penndorf
SaaS Operational Services (SOS) - ID Management
IBM Cloud
srpenn at us.ibm.com
Office: 248-552-4791 TL 623-9966
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Senior Identity Engineer
evolveum.com
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180116/aa4c8dbe/attachment.htm>
More information about the midPoint
mailing list