[
https://issues.redhat.com/browse/WFLY-11130?page=com.atlassian.jira.plugi...
]
Moulali Shikalwadi edited comment on WFLY-11130 at 5/11/20 6:21 AM:
--------------------------------------------------------------------
[~lukaskuzmiak], Could you please confirm is this issue still persists?
javax.security.enterprise.SecurityContext.isCallerInRole throws
NullPointerException if the caller is not authenticated (New Java EE 8 Security)
------------------------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-11130
URL:
https://issues.redhat.com/browse/WFLY-11130
Project: WildFly
Issue Type: Bug
Components: Security
Affects Versions: 14.0.1.Final
Reporter: Instantiation Exception
Assignee: Moulali Shikalwadi
Priority: Major
I tried to use new Java EE 8 Security API and noticed that
javax.security.enterprise.SecurityContext.isCallerInRole throws NullPointerException if
the caller is not authenticated. But according to JavaDoc it should return false in this
situation.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)