<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I see that I my need an inbound-block in service schemaHandling
to read the attribute from user-account before outbound. The
problem is still the same - how can I "reach" the user-attribute
from within the services schemaHandling?</p>
<p>cheers,</p>
<p>Fabian<br>
</p>
<div class="moz-cite-prefix">Am 06.11.18 um 08:52 schrieb Fabian
Bosch:<br>
</div>
<blockquote type="cite"
cite="mid:117d7f39-8164-45d0-8e9b-534faa0ef6e5@daasi.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi</p>
<p>I need some help to solve the following situation:</p>
<p>Users are in sync with one ressource controlled by a
schemaHandling including some extension attributes. <br>
Services are in sync with another ressource and are filled over
schemaHandling including some extension attributes.</p>
<p>Now I need to "pass through" a user-attribute to a
service-attribute to provide this user-attribute to the
ressource behind the service.</p>
<p>the extension-attribute 'sstatus' is declared in the
schema-extension for UserType as well as in the schema-extension
for ServiceType<br>
</p>
<p><u>service</u> schemaHandling is something like this:
(extension-attribute sstatus)<br>
</p>
<p><i><attribute>ri:sstatus</attribute></i><i><br>
</i><i><outbound></i><i><br>
</i><i><b><source></b></i><i><font color="#ff0000">extension/sstatus</font></i><i><b></source>
</b></i><i><br>
</i><i><expression></i><i><br>
</i><i><script></i><i><br>
</i><i><code></i><i><br>
</i><i>import ... </i><i><span class="pl-smi"><em>ActivationStatusType</em></span></i><i><span
class="pl-smi"><em></em></span></i></p>
<p><i>if (</i><i><font color="#ff0000">$user/extension/sstatus</font></i><i>
== </i><i><span class="pl-smi"><em>ActivationStatusType.ENABLED</em></span></i><i>)
</i><i><b><!-- HERE I need the attribute of the user the
service is assigned to--></b></i></p>
<p><i>return ...;</i><i><br>
</i><i> ...</i></p>
<p>How this can be acchieved?</p>
<p>Would it be better to set somethin within the user like "push
attribute sstatus to all assigned services" (which would lead
into some confusion when managing services that don't need an
ActivationStatusType)<br>
</p>
<p>cheers, <br>
</p>
<p>Fabian<br>
</p>
<pre class="moz-signature" cols="72">--
--
Fabian Bosch, Solutions-Engineer
DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany
phone: +49 7071 407109-0
fax: +49 7071 407109-9
email: <a class="moz-txt-link-abbreviated" href="mailto:fabian.bosch@daasi.de" moz-do-not-send="true">fabian.bosch@daasi.de</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.daasi.de" moz-do-not-send="true">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
--
Fabian Bosch, Solutions-Engineer
DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany
phone: +49 7071 407109-0
fax: +49 7071 407109-9
email: <a class="moz-txt-link-abbreviated" href="mailto:fabian.bosch@daasi.de">fabian.bosch@daasi.de</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.daasi.de">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
</body>
</html>