OpenSAML Velocity templates for POST etc. responses
Michael A Grady
mgrady at unicon.net
Wed Feb 20 10:45:20 EST 2013
On Feb 19, 2013, at 9:59 AM, Cantor, Scott wrote:
>>> Looking at the code, it seems if one simply injected the "templateId" into
>> the context (actually, the velocityTemplateId), then one would have the
>> necessary information to pass to GA. (It would be a bit longer,
>> "/templates/saml2-post-binding.vm", but it would work. And/or one could
>> then do string manipulation in the template to
>> remove the "extraneous bits".
>
> Sure, but why would anybody want to do logic based on an arbitrary filename vs. a standard-defined identifier? The filenames can change any time (which is why overriding the entire template isn't exactly kosher at present).
That would be ok (the filenames changing), as long as they retain different names and the name has anything to do with the "action/event" it is associated with (e.g. SAML2 POST, SAML1 POST, etc.). This "name" isn't important enough to be worth creating yet another configuration option for, it just provides one more way to potentially differentiate/sort the results.
Think of this value as a bit like an entityID -- it's just an internal name, so what it is, exactly, doesn't matter. It just provides one more way for the IdP operator to sort how they see their stats. It's not a name that they'd need to expose to anyone else.
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
--
Michael A. Grady
Senior IAM Consultant, Unicon, Inc.
More information about the dev
mailing list