[jboss-jira] [JBoss JIRA] (SECURITY-874) CredentialIdentityFactory.NULL_IDENTITY does not get initialized and causes NullPointerExceptions
Bartosz Baranowski (JIRA)
issues at jboss.org
Fri Jan 16 06:42:49 EST 2015
Bartosz Baranowski created SECURITY-874:
-------------------------------------------
Summary: CredentialIdentityFactory.NULL_IDENTITY does not get initialized and causes NullPointerExceptions
Key: SECURITY-874
URL: https://issues.jboss.org/browse/SECURITY-874
Project: PicketBox
Issue Type: Bug
Components: Identity
Affects Versions: PicketBox_4_0_21.Final
Reporter: Bartosz Baranowski
Assignee: Stefan Guilhen
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