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

"User name/password combination is invalid." error message shown when provided with incorrect cookie domain

    XMLWordPrintable

    Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 6.0.0.6
    • None
    • authentication, XUI
    • Rank:
      1|hzy44n:
    • AM Sustaining Sprint 62, AM Sustaining Sprint 63
    • 5
    • No
    • No
    • No
    • Yes and I used the same an in the description

      Description

      Bug description

      "User name/password combination is invalid." error message shown when provided with incorrect cookie domain

      When different environments use the same iPlanetDirectoryPro cookie name but different cookie domain's, when one tries to login to the other 2nd env, after having been logged into the first env. The error message provided is incorrect and confusing.

      It currently says "User name/password combination is invalid."

      It should says something like "You have multiple authentication sessions" or something similar.

       

      How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. AM setup 1, use default iPlanetDirectoryPro cookie but use .forgerock.com as the cookie domain
      2. AM setup 2 ,  use default iPlanetDirectoryPro cookie but use .internal.forgerock.com as the cookie domain
      3. Login to Setup 1
      4. Login to Setup 2 
      5. Observe error
      Expected behaviour
      Better descriptive error message
      
      Current behaviour
      Get this error message: "User name/password combination is invalid." which points to nothing around cookie domain or other Session cookie being present.
      

      Work around

      Use separate session cookie names, e.g. iPlanetDirectoryProInt and iPlanetDirectoryPro for the different server instances.

      Code analysis

      N/A

      org.forgerock.$className.java
      ...
      

        Attachments

          Issue Links

            Activity

              People

              lawrence.yarham Lawrence Yarham
              david.bate David Bate
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: