]
Bartosz Baranowski commented on WFLY-4253:
------------------------------------------
PB PR has been merged,
CredentialIdentityFactory.NULL_IDENTITY does not get initialized and
causes NullPointerExceptions
-------------------------------------------------------------------------------------------------
Key: WFLY-4253
URL:
https://issues.jboss.org/browse/WFLY-4253
Project: WildFly
Issue Type: Bug
Components: Security
Affects Versions: 8.2.0.Final
Environment: Java 1.8.0_25
Reporter: Rostyslav Smirnov
Assignee: Bartosz Baranowski
org.jboss.security.identity.extensions.CredentialIdentityFactory.NULL_IDENTITY does not
get initialized to an empty identity due to initialization method returning a reference to
NULL_IDENTITY, which has not initialized yet, resulting in null pointer. This causes
NullPointerException in org.jboss.security.SecurityContextUtil.clearIdentities() and
org.jboss.security.SecurityContextUtil.getIdentities() methods.