Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16615

Session Tree Hook is running after session response is created preventing hook usage

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.5.2, 7.0.0
    • Fix Version/s: None
    • Component/s: session
    • Labels:

      Description

      Problem

      In SuccessProcessTreeResult when the session is create this session is used to be return to as the response. However this is problematic as if one write Session tree hooks to change the Session properties, the generate session will not have the new Session hook data. This is especially true for StatelessSession.

      It may be good to reorder session hook execution to consider the hooks and using the resulting session after all these hooks are run.

      Context.

      It makes it impossible to write PAP equivalent style to add alter existing system level Session properties like FullLoginURL or injecting new properties thru session hooks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chee-weng.chea C-Weng C
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: