Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-209

Notification does not end up removing session from cache if first apache bucket contains less than 6 bytes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 5.0.0.0, 4.1.0
    • Component/s: None
    • Environment:
      Apache

      Description

      As part of nofifications, they are preserved in post data files.
      The agent tries to read from an apache bucket and checks the size and whether it is a LARES string. If the first chunk is <6 bytes

      EXPECTED BEHAVIOUR
      agent can cope with this situation, and will write to file if it is not LARES

      ACTUAL BEHAVIOUR
      agent will write to memory instead. The notification handler cannot handle this and logs

      2016-09-26 16:24:44.807 -0500   DEBUG [0x7f56423e9700:19586][source/apache/agent22.c:762] get_request_body(): read xxxx bytes
      2016-09-26 16:24:44.807 -0500 WARNING [0x7f5623fff700:19586] notification_worker(): post data is not available
      The session is not removed allowing access when it should not be allowed.

        Attachments

          Activity

            People

            • Assignee:
              mareks Mareks Malnacs
              Reporter:
              alex.levin@forgerock.com Alex Levin
              QA Assignee:
              Nemanja Lukic
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: