AnsweredAssumed Answered

API Gateway looping over SiteMinder built in variables

Question asked by DAquilina on Apr 15, 2016
Latest reply on Apr 18, 2016 by Mark_HE

the API gateway provides a data construct for looking at SiteMinder variables, notably the built in headers, however, there does not seem to be an easy way to loop over them.


I am particularly interested in how to loop over these variables... (given that we only have a "for/each" loop construct)



${<prefix>.smcontext.attributes.length}   Returns the size of the attribute list.

${<prefix>.smcontext.attributes.<index>.name} Returns the name of the <index> attribute. Example: ${}

${<prefix>.smcontext.attributes.<index>.value} Returns the value of the <index> attribute.


Example: ${siteminder.smcontext.attributes.0.value}


The data structure totally lends itself to for/next.


How do I put in an enhancement request to add the for/next loop construct to the assertion language so that I can loop over this unknown size loop.


I had a case open for this exact issue, but I was directed here.