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)
EXAMPLE FROM THE DOCUMENTATION:
${<prefix>.smcontext.attributes.length} Returns the size of the attribute list.
${<prefix>.smcontext.attributes.<index>.name} Returns the name of the <index> attribute. Example: ${siteminder.smcontext.attributes.0.name}
${<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.
Cheers,
Thanks