-
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:
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)
- 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 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?
- relates to
-
OPENAM-13860 REST API "PUT /global-config/realms/{realmref}" broken
-
- Closed
-