[jboss-jira] [JBoss JIRA] (WFLY-4253) CredentialIdentityFactory.NULL_IDENTITY does not get initialized and causes NullPointerExceptions
Rostyslav Smirnov (JIRA)
issues at jboss.org
Wed Jan 14 19:13:49 EST 2015
Rostyslav Smirnov created WFLY-4253:
---------------------------------------
Summary: 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: Darran Lofthouse
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.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list