Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2824

Ensure ImpersonatedUserHolder can be accessed during initial fixtures

    XMLWordPrintableJSON

    Details

      Description

      The ImpersonatedUserHolderForWicket implementation introduced for keycloak ticket recently is superfluous (the existing ImpersonatedUserHolderForHttpSession works fine, I believe) but in any case the UserService that iterates over all of the available should be fault-tolerant to any of the impl's throwing an exception.

      This currently happens if a fixture script called during initialization uses secman which results in a call to obtain the current user... there is no Wicket session and so the fixture scripts fail to run.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Daniel Keir Haywood
              Reporter:
              danhaywood Daniel Keir Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: