[midPoint] get ("pass through") user-attribute from assigned service
Fabian Bosch
fabian.bosch at daasi.de
Tue Nov 6 09:11:46 CET 2018
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?
cheers,
Fabian
Am 06.11.18 um 08:52 schrieb Fabian Bosch:
>
> Hi
>
> I need some help to solve the following situation:
>
> Users are in sync with one ressource controlled by a schemaHandling
> including some extension attributes.
> Services are in sync with another ressource and are filled over
> schemaHandling including some extension attributes.
>
> Now I need to "pass through" a user-attribute to a service-attribute
> to provide this user-attribute to the ressource behind the service.
>
> the extension-attribute 'sstatus' is declared in the schema-extension
> for UserType as well as in the schema-extension for ServiceType
>
> _service_ schemaHandling is something like this: (extension-attribute
> sstatus)
>
> /<attribute>ri:sstatus</attribute>//
> //<outbound>//
> //*<source>*//extension/sstatus//*</source> *//
> //<expression>//
> //<script>//
> //<code>//
> //import ... ///ActivationStatusType//////
>
> /if (//$user/extension/sstatus//== ///ActivationStatusType.ENABLED///)
> //*<!-- HERE I need the attribute of the user the service is assigned
> to-->*/
>
> /return ...;//
> // .../
>
> How this can be acchieved?
>
> 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)
>
> cheers,
>
> Fabian
>
> --
> --
> 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: fabian.bosch at daasi.de
> web: www.daasi.de
>
> Sitz der Gesellschaft: Tübingen
> Registergericht: Amtsgericht Stuttgart, HRB 382175
> Geschäftsleitung: Peter Gietz
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
--
--
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: fabian.bosch at daasi.de
web: www.daasi.de
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181106/dcb2bea9/attachment.htm>
More information about the midPoint
mailing list