Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8711

NPE when auth failed event is sent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Auth Core 1.4.4
    • Auth Core 1.4.6
    • Authentication
    • None

    Description

      Some auth info might be null when the authentication failed which then results in an NPE when sending the event:
      java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:460)
      at org.apache.sling.auth.core.impl.SlingAuthenticator.postLoginFailedEvent(SlingAuthenticator.java:1541)
      at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:840)
      at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:518)
      at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:462)

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: