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

Device Match - Server side script fails when error level logging is enabled.

    XMLWordPrintable

    Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0.3, 6.5.0, 6.0.1
    • scripting
    • AM Sustaining Sprint 51, AM Sustaining Sprint 52
    • 3

      Description

      Bug description

      A fix was given for bug OPENAM-12226.  This works as expected until you enable message level logging and then authentication fails.

      How to reproduce the issue

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

        1. Install AM 5.5.1 
        2. Create DeviceMatch, DeviceSave and HOTP modules 
        3.  Install 27614-1 tpatch  with fix  OPENAM-12226.
        4. Create a chain with all these modules, refer attached image 
        5. Enable AM message level debugging 
        6. 1st authentication: Invoke this chain: http://openam551.example.com:8989/openam/XUI/?realm=/employees#login/&authIndexType=service&authIndexValue=riskChain  
          1. Perform datastore
          2. User challenged for HOTP
          3. Save device
        7. 2nd authentication: Invoke same chain again. 
          1. Perform datastore
          2. User challenged for HOTP but user should not be challenged as we saved device in step 5 above
      Expected behaviour
      Authenticate correctly
      Current behaviour
      Authentication error

      Work around

      Dont use message level logging.

      Code analysis

      OPTIONAL - If you already investigated the code, please share your finding here (remove this text)

      org.forgerock.$className.java
      ...
      

        Attachments

          Issue Links

            Activity

              People

              yaodong.hu Yaodong Hu [X] (Inactive)
              jordan.kasper Jordan Kasper [X] (Inactive)
              Filip Kubáň [X] Filip Kubáň [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: