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

global-config/realms endpoint does not separately handle "realm aliases" and "DNS aliases"

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0, 14.1.0, 14.1.1, 14.5.0, 14.5.1, 5.5.1, 6.0.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4, 6.0.0.5
    • Fix Version/s: None
    • Component/s: REST-SMS
    • Labels:
      None
    • Environment:
      Oracle JDK 1.8.0_151-b12
      Apache Tomcat/9.0.8
      AM 6.0.0.4
    • Rank:
      1|hzx14n:
    • Support Ticket IDs:

      Description

      Bug description

      The REST endpoint 'global-config/realms' does not distinguish between 'realm aliases' and 'DNS aliases', so it's impossible to intentionally set one or the other.

       How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. Configure AM
      2. Use API explorer to retrieve realm config for root realm (
        curl -X GET --header 'Accept: application/json' 'http://am6004.test.xyz:8080/am/json/global-config/realms/Lw')
      3. Use API explorer to set 'realm alias', not 'DNS alias'.

       

      Expected behaviour
      There should be a separate JSON property for the realm alias
      
      Current behaviour
      No distinction between realm alias and DNS alias possible
      
      JSON payload is always
      
      {
        "aliases": [
          "am6004.test.xyz",
          "am600.test.xyz",
          "openam",
          "am6004"
        ]
      }
      
      Which value are realm aliases and which one are DNS aliases?
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bthalmayr Bernhard Thalmayr
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: