Daniel Keir Haywood created ISIS-2824:
-----------------------------------------
Summary: Ensure ImpersonatedUserHolder can be accessed during
initial fixtures
Key: ISIS-2824
URL: https://issues.apache.org/jira/browse/ISIS-2824
Project: Isis
Issue Type: Bug
Components: Isis Core, Isis Viewer Wicket
Reporter: Daniel Keir Haywood
Assignee: Daniel Keir Haywood
Fix For: 2.0.0-M6
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)