[OPENIDM-10672] NPE with RunAs and STATIC_USER Created: 13/Apr/18  Updated: 24/Apr/18  Resolved: 17/Apr/18

Status: Closed
Project: OpenIDM
Component/s: Module - Authentication
Affects Version/s: OpenIDM 6.0.0
Fix Version/s: OpenIDM 6.0.0

Type: Bug Priority: Major
Reporter: Jake Feasel Assignee: Jon Branch
Resolution: Fixed Votes: 0
Labels: CLARK, not-for-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Target Version/s:
Verified Version/s:
QA Assignee: Alexander Dracka
Sprint: OpenIDM Sprint 90


The new RunAs authentication option throws an NPE when it is present a request involving the STATIC_USER module.

Start any instance of IDM and issue this curl command:

curl -u anonymous:anonymous http://localhost:8080/openidm/info/ping -H 'X-OpenIDM-RunAs: foo' -v

The result is a 500 error and an NPE thrown on the IDM console.

Retry without the RunAs header and everything works fine.

Comment by Alexander Dracka [ 24/Apr/18 ]

Verified  with OpenIDM version "6.0.0-RC2" (build: 20180423125345, revision: 1291311)

Generated at Mon Mar 01 10:33:07 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.