From: D B. <ba...@aw...> - 2020-03-24 10:17:46
|
Hi, thanks again! A condition based on `requester` seems to be what I'm looking for :-) D On 20/03/2020 19:20, Sander Apweiler wrote: > 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 |