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

PDP file is not deleted immediately after login for C Agent 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.0
    • Fix Version/s: 5.0.0.0
    • Component/s: Web Agents
    • Labels:
    • Environment:
      Ubuntu 16.04 / Apache 2.4 / PA: 5.0.0-M20

      Description

      PDP file is not deleted immediately after login for C Agent 5

      Steps to reproduce

      1.) I used index page which is able to makes post data

       <p>
       <form name="ShowForm" action="/cgi-bin/show.cgi" method="post">
       <input name="post-attr1" value="value1" type="hidden">
       <input type="submit" value="show.cgi">
       </form>
       <p>
      

      2.) Set index.html page as not enforced URL
      3.) Enable post data preservation <Agent Profile> / Post Data Preservation = enabled
      4.) Observe web_agent/<agent-type>/log/ folder
      5.) Hit the index page, you will see it without login, because it is in NEU. Make POST request with post data (ShowForm button, if was used step 1)
      6.) You will be redirected to login page and in log folder will be file with post data (something like this: 2c46972d-7a05-0040-be94-089dc1547ba8)
      7.) Login with user and observe log folder again

      Observed:

      The file 2c46972d-7a05-0040-be94-089dc1547ba8 (in mine case) stayed in the log folder

      Expected:

      The file 2c46972d-7a05-0040-be94-089dc1547ba8 will be deleted from log folder after login.
      Note: This file will be deleted after some time, pdp_monitor will delete it. (pdp_monitor is used for deleting post data for unauthenticated users)

        Attachments

          Activity

            People

            Assignee:
            nick.james Nicholas James
            Reporter:
            richard.hruza Richard Hruza
            QA Assignee:
            Richard Hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: