Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-991

NPE When registering null AuthConfigProvider on JBossAuthConfigFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • PicketBox_5_1_1.Beta1
    • PicketBox_5_1_0.Final
    • JBossSX
    • None

      The following NPE is reported where the AuthConfigProvider is null: -

      2018-06-11 02:56:31,054 ERROR [stderr] (default task-1) java.lang.NullPointerException
      2018-06-11 02:56:31,055 ERROR [stderr] (default task-1) 	at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
      2018-06-11 02:56:31,055 ERROR [stderr] (default task-1) 	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
      2018-06-11 02:56:31,055 ERROR [stderr] (default task-1) 	at org.jboss.security.auth.message.config.JBossAuthConfigFactory.registerConfigProvider(JBossAuthConfigFactory.java:250)
      

      However within JASPIC the null AuthConfigProvider has special meaning.

              rhn-support-ivassile Ilia Vassilev
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: