From: Sander A. <sa....@fz...> - 2020-03-20 18:21:14
|
Hi, entityId seems not to be in the output profile, see [1]. We did it with requester and added the server manually with testing if it was the URL or the entityID. But we did not use entityID as special parameter. Cheers, Sander [1]: https://www.unity-idm.eu/documentation/unity-3.2.1/manual.html#_output_translation On Fri, 2020-03-20 at 15:51 +0100, D Baum wrote: > Hi, > > On 20/03/2020 07:13, Sander Apweiler wrote: > > 2. Same as above but change the condition from true to some > > expresion > > with something like "requester=serviceA". I can't remember if we > > had > > used only the server name or entityID in this place. > > Thanks, that's the sort of thing I was looking for! > > For testing, I tried creating a rule with a condition based on > entityId > and another one just adding the entityId as an attribute: > > createAttribute|attributeName: entityId|expression: > entityId|mandatory: > false|attributeDisplayName: |attributeDescription: |type: > > In the logs, I'm getting > org.mvel2.PropertyAccessException: [Error: could not access: > entityId; > in class: java.util.HashMap] > [Near : {... entityId ....}] > ^ > [Line: 1, Column: 1] > > According to > https://www.unity-idm.eu/documentation/unity-3.2.1/manual.html#attributes > entityId should be available similar to attr. > > What am I doing wrong? > > Cheers, > D > > > _______________________________________________ > Unity-idm-discuss mailing list > Uni...@li... > https://lists.sourceforge.net/lists/listinfo/unity-idm-discuss -- Federated Systems and Data Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ---------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |