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

REST API "PUT /global-config/realms/{realmref}" broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • 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, 6.5.0, 6.5.1
    • Fix Version/s: None
    • Component/s: API descriptor
    • Labels:
    • Environment:
      Oracle JDK 1.8.0_151-b12
      Apache Tomcat/9.0.8
      AM 6.0.0.4
    • Support Ticket IDs:

      Description

      Bug description

      Updating DNS alias / realm aliases via REST endpoint "PUT /global-config/realms/{realmref}" is not possible

      How to reproduce the issue

      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 so set DNS aliases / realm aliases
        curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \ 
           "aliases": [ \ 
             "am6004.test.xyz", \ 
             "am600.test.xyz", \ 
             "openam", \ 
             "am6004" \ 
           ] \ 
         }' 'http://am6004.test.xyz:8080/am/json/global-config/realms/Lw'
        
      Expected behaviour
      new realm aliases / dns alias should be applied
      
      Current behaviour
      Reponse Code '500'
      
      Response Body
      
      {
        "code": 501,
        "reason": "Not Implemented",
        "message": "Cannot provide ID for Realm resource"
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: