-
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:
Bug description
Updating DNS alias / realm aliases via REST endpoint "PUT /global-config/realms/{realmref}" is not possible
How to reproduce the issue
- Configure AM
- 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') - 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" }
- is related to
-
OPENAM-13859 global-config/realms endpoint does not separately handle "realm aliases" and "DNS aliases"
-
- Open
-