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

Custom object injection for views and scripting contexts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: User Interface
    • Labels:
      None

      Description

      Loading classes in a Velocity template might be accomplished via :

      #set ($myClass = $profileRequestContext.getClass().forName("my.Class").newInstance())
      

      but probably the constructor should be determined and newInstance(initargs) should be called instead.

      http://shibboleth.net/pipermail/users/2015-July/022902.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdw@iay.org.uk Rod Widdowson
                Reporter:
                tzeller@shibboleth.net Tom Zeller
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 20 minutes
                  6h 20m