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

Despite disabling of the notification to agent, OpenAM will still sent a notification to agent whenever the agent is shutdown

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 14.1.1, 14.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Support Ticket IDs:

      Description

      Bug description

      Despite disabling of the notification to agent, OpenAM will still sent an XML notification to agent whenever the agent is shutdown

      How to reproduce the issue

      #1. Setup agent 4.1.0-37 ( Apache 2.4 64 bit )

      #2. Setup an webagent profile with the following setting

      com.sun.identity.agents.config.notification.enable=false
      com.sun.identity.agents.config.change.notification.enable=false 

      #3.

      tail -f CoreSystem | grep "Sent NotificationSet XML" -A5

      #4. start up agent and access a protected page

      #5. shutdown the agent

      #6. the following message will be observed in the CoreSystem file as it destroyed the agent session and it sent an XML notification to the agent which is already shutdown.

       

      Sent NotificationSet XML : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <NotificationSet vers="1.0" svcid="session" notid="3">
      <Notification><![CDATA[<SessionNotification vers="1.0" notid="3">
      <Session sid="Mz2EsVGl0f-GsYFRsUOJ2tFtK5A.*AAJTSQACMDEAAlNLABxYZXFnUlZmdEswK1NRTExIWnpqZUZZRWhKRVE9AAJTMQAA*" stype="application" cid="webagent" cdomain="dc=openam,dc=forgerock,dc=org" maxtime="22075200" maxidle="22075200" maxcaching="22075200" timeidle="1529472219" timeleft="-204960248" state="destroyed">
      <Property name="Locale" value="en_US"></Property>
      <Property name="authInstant" value="2018-06-20T05:23:38Z"></Property>
       

       

      Expected behaviour
      No notification to be agent since it is shutdown 
      and there are NO notifications to agent setting in-placed 
      Current behaviour
      An notification was sent to the agent 
      

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sam.phua Sam Phua
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: