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

ReplayPasswd fails in chain auth if PasswordCallback is not available in the last executed auth module

    XMLWordPrintable

    Details

    • Rank:
      1|hzo1b3:

      Description

      When authentication modules are configured in chain and if the last executed module doesn't have PasswordCallback, then ReplayPasswd fails with NPE.

      The reported scenario of auth chain was :
      AD -> Adaptive -> HOTP

      ReplayPasswd:08/06/2013 10:42:05:518 AM NZST: Thread[http-18080-1,5,main]
      ReplayPasswd.onLoginSuccess called: Req:http://openam.example.com:18080/opensso/UI/Login
      amAuth:08/06/2013 10:42:26:893 AM NZST: Thread[http-18080-1,5,main]
      Error
      java.lang.NullPointerException
      at com.sun.identity.authentication.spi.ReplayPasswd.onLoginSuccess(ReplayPasswd.java:140)
      at com.sun.identity.authentication.service.LoginState.executePostProcessSPI(LoginState.java:5332)
      at com.sun.identity.authentication.service.LoginState.postProcess(LoginState.java:5302)
      at com.sun.identity.authentication.service.AMLoginContext.postProcessOnSuccess(AMLoginContext.java:2056)
      at com.sun.identity.authentication.service.AMLoginContext.getStatus(AMLoginContext.java:1067)
      at com.sun.identity.authentication.server.AuthContextLocal.submitRequirements(AuthContextLocal.java:698)
      at com.sun.identity.authentication.UI.LoginViewBean.processLoginDisplay(LoginViewBean.java:1451)
      at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:875)
      at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:537)
      at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
      at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
      at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)

        Attachments

          Activity

            People

            Assignee:
            sachiko Sachiko Wallace
            Reporter:
            sachiko Sachiko Wallace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: