Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4253

CredentialIdentityFactory.NULL_IDENTITY does not get initialized and causes NullPointerExceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR5
    • 8.2.0.Final
    • Security
    • None

      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.

              rhn-cservice-bbaranow Bartosz Baranowski
              rsmirnov_jira Rostyslav Smirnov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: