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

Useless debug log in SAML2Util.putHeaders()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 11.0.0
    • Fix Version/s: 12.0.0
    • Component/s: audit logging, SAML
    • Labels:
      None
    • Rank:
      1|hzoisf:

      Description

      debug log:

      SAML2Util.putHeaders: Header name=Content-Type, value=[Ljava.lang.String;@17951b0
      

      code:

      String[] values = headers.getHeader(header.getName());
      if (debug.messageEnabled()) {
          debug.message("SAML2Util.putHeaders: Header name=" +
                  header.getName() + ", value=" + values);
      }
      

      The values should be change to Arrays.toString(values).

        Attachments

          Activity

            People

            • Assignee:
              kohei kohei
              Reporter:
              kohei kohei
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: