Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
14.0.1.Final
-
None
Description
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.