Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1301

Expose Entity Attributes by default to Velocity Templates

    XMLWordPrintable

    Details

      Description

      It would help to expose any Entity Attributes that are part of the RP's metadata to Velocity templates by default, similar to the existing MDUI support via rpUIContext. That way deployers can easily tune e.g. the attribute-release intercept views based on Entity Categories.

      Personally I'm currently only interested in Entity Attributes with an Attribute/@Name="http://macedir.org/entity-category" but exposing all Entity Attributes is more generic and more flexible and therefore more suitable for a default.
      (Probably a Map with the Entity Attribute Name as a key and an ArrayList as values, of something like that? The amended default view could then also expose Entity Categories by default, the same way e.g. $privacyStatementURL is already being set from $rpUIContext.privacyStatementURL now.)

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            peter@aco.net peter@aco.net
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 hour, 15 minutes
                1h 15m