Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
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.