Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4630

Support expression in time constraints

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Blocker
    • Resolution: Reviewed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Subscription:
      Active subscription
    • Milestone:
      M4

      Description

      Support expression in mapping time constraint that could be used to dynamically determine constraint timestamp.

      Currently we support only fixed offset. Which means that the deactivation comes exactly at that interval, e.g. exactly two weeks after deprovisioning signal was processed. We often want to deprovision accounts on midnight, which is not exact time interval from deprovisioning signal.

      Therefore support an expression that can be used to determine the exact moment. Like this:

      <mapping>
          <timeFrom>
              <expression>
                  <script>
                      <code> ... this code returns a timestamp ...</code>
                  </script>
              <expression>
          </timeFrom>
          ....
      </mapping>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              semancik Radovan Semancik
              Reporter:
              semancik Radovan Semancik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: