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

StackOverflowError when invalid pcookie is presented

    XMLWordPrintable

    Details

    • Rank:
      1|hzo5af:
    • Support Ticket IDs:

      Description

      Steps to reproduce:

      • Create a new realm (/test)
      • Enable PCookie (iPSPCookie one) for both / and /test realms
      • Log in to / realm with iPSPCookie=Yes
      • In a different browser log in as amadmin and disable pcookie for the / realm
      • In your first browser remove the iPDP cookie, so you only have the DProPCookie
      • Try to log in using /UI/Login?realm=/test

      At this point you'll end up seeing a StackOverflowError.
      An example stacktrace for 10.1.0-Xpress would look something like:

              at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:976)
              at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:887)
              at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:538)
              at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:976)
              at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:887)
              at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:538)
              at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:976)
              at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:887)
              at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:538)
              at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:976)
      

        Attachments

          Activity

            People

            Assignee:
            peter.major Peter Major [X] (Inactive)
            Reporter:
            peter.major Peter Major [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: