[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:43:49 EST 2015


     [ https://issues.jboss.org/browse/SECURITY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Baranowski reassigned SECURITY-874:
-------------------------------------------

    Assignee: Bartosz Baranowski  (was: Stefan Guilhen)


> 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: 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.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list