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

Web agent does not honour com.sun.identity.agents.config.attribute.multi.value.separator value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.1.1, 5.5.0.0
    • 5.5.1.0
    • Web Agents
    • AM 6.0.0.4
      64bit Linux Apache web agent 5.0.1.1 and 5.5.0.0 tested

    Description

      Problem

      The web agent does not honour the value set for the com.sun.identity.agents.config.attribute.multi.value.separator parameter.

       

      To reproduce

      1). Setup and configure a web agent profile where the agent passes on user profile attributes via the HTTP_HEADER option.  Map a multi-valued attribute in the Profile Attribute Map section in the agent profile.

      2). Configure a user so it has a multi-valued profile attribute and use the standard Apache cgi-bin/printenv script to verify this, for example:

      HTTP_CUSTOM_BC="cat2|cat1"

      ...note the default | separator.

      3). Update the 'Attribute Multi Value Separator' from the default | to be , and save the changes.

      4). Retest and note the result output is still:

      HTTP_CUSTOM_BC="cat2|cat1"

       

      Although the web agent recognises the separator as a ,

      2018-10-12 14:08:39.036 +0100  DEBUG [d7778ef7-26cb-0749-8507-d400ded455a8][source/config_parser.c:150]parse_config_string() com.sun.identity.agents.config.attribute.multi.value.separator is set to ','

       

      Expected result

      Separator should be as set in the parameter in this case a ,

      Actual result

      It still uses the default | character

      Attachments

        Activity

          People

            mareks Mareks Malnacs
            andy.itter Andy Itter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: