You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/07/26 09:11:00 UTC
[jira] [Created] (ISIS-2824) Ensure ImpersonatedUserHolder can be
accessed during initial fixtures
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)