Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10042

Unsuccessful federation results in NPE

    Details

    • Sprint:
      AM Sustaining Sprint 31
    • Story Points:
      5

      Description

      Steps to reproduce:

      • Configure SAML2 federation
      • On the hosted SP remove the Federation authentication module
      • Try to login via federation

      The Federation debug logs show the following stacktrace:

      Caused by: java.lang.NullPointerException
              at com.sun.identity.authentication.audit.AbstractAuthenticationEventAuditor.getFailedPrincipal(AbstractAuthenticationEventAuditor.java:137)
              at com.sun.identity.authentication.audit.AuthenticationProcessEventAuditor.auditLoginFailure(AuthenticationProcessEventAuditor.java:119)
              at com.sun.identity.authentication.service.AMLoginContext.processIndexType(AMLoginContext.java:1835)
              at com.sun.identity.authentication.service.AMLoginContext.executeLogin(AMLoginContext.java:351)
              ... 59 more
      

      Looks to be an easy fix.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sachiko Sachiko Wallace
                Reporter:
                peter.major Peter Major [X] (Inactive)
                QA Assignee:
                Andrew Vinall
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: