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

Decrease log level for incorrect JWT token in Agent 5

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 5.0.0.0
    • None
    • Web Agents
    • OpenAM Web Agent for Apache Server 2.4.x 64bit
       Version: 5.0.0-SNAPSHOT
       Revision: f91519f
       Build machine: delacroix
       Build date: Nov 3 2017 08:50:26

    Description

      When incorrect JWT token is used, agent makes a error log.

      Steps to reproduce

      1.) Install 2 agents (virtual hosts) with the same hostname, different ports and different agent profiles.

      2.) Login via agent 1

      3.) Hit the agent 2

      4.) Observe debug log

      Observed

      2017-11-03 15:13:59.751 +0000   ERROR [ead156dd-deda-f442-a12f-ba9d70e141e2]audience does not have the expected value: JWT {"sub":"demo","auditTrackingId":"c738ed2e-c632-45fe-9db1-b36c9eca14cd-102040","iss":"https://riso-ubuntu16.test.forgerock.com:8443/am/oauth2","tokenName":"id_token","nonce":"CFE1FA1EFB2B804DC34B02820D6F48BA","aud":"apache24-2nd","s_hash":"GVbCH3N2IZP_HurjjoLS6w","azp":"apache24-2nd","auth_time":1509721993,"forgerock":{"ssotoken":"ARswMJwCDppKwsshZEBFH_zqe50.*AAJTSQACMDEAAlNLABxxQXdNcDVocmFySVpKVDE2eFdXb25Dcm5IZWs9AAJTMQAA*","suid":"c738ed2e-c632-45fe-9db1-b36c9eca14cd-101988"},"realm":"/","exp":1509757994,"tokenType":"JWTToken","iat":1509721994,"agent_realm":"/"}
      "debug.log" 83L, 5787C

      Expected

      Log level mentioned above should be for DEBUG or INFO log level and nit for ERROR log level

      Attachments

        Activity

          People

            Unassigned Unassigned
            richard.hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: