[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openig
Subject: [Openig] OpenIG: join function usage example
From: soverbosch () gmail ! com (Sarris Overbosch)
Date: 2014-01-30 20:54:48
Message-ID: CADQ=79BgDjZpzYeWy8TEXxV4PcG-8BKPTYxHQatJDkS_yKDbqw () mail ! gmail ! com
[Download RAW message or body]
Just a stupid question maybe, but isn't "http://host:8080/
openam/identity/attributes?subjectid=${jexchange.token.value}" working?
2014-01-30 Cyril Grosjean <cgrosjean at janua.fr>
>
> Can anyone give me a few examples of how to use the OpenIG join function ?
> I can't find any and struggle to make it work:
> I have the following construct:
>
> {
> "name": "AMAttributeAssignmentFilter",
> "type": "AssignmentFilter",
> "config": {
> "onRequest": [
> {
> "target":
> "${exchange.request.uri}",
> "value": "${join(['
> http://host:8080/openam/identity/attributes?subjectid=',exchange.token.
> value],'')}"
> }
> ]
> }
> }
>
> I get this kind of error:
>
>
> syntax error at position 7, encountered '[', expected ')'
>
>
> My goal is just to concatenate the URI above with the content of the
> exchange.token.value variable.
>
> Any hint ?
>
> _______________________________________________
> Openig mailing list
> Openig at forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.forgerock.org/pipermail/openig/attachments/20140130/b836d261/attachment.html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic