Affects Version/s: 14.1.1, 14.5.1, 6.0.0
Fix Version/s: None
Sprint:AM Sustaining Sprint 53, AM Sustaining Sprint 54, AM Sustaining Sprint 55
Support Ticket IDs:
A GET on the /realm-config/agents/J2EEAgent endpoint does not work as expected where when setting the global 'Agent Filter Mode' option to a value other than ALL then the value is not returned by the endpoint.
Conversely when using PUT on the same endpoint to update this does not allow the setting of a global value other than ALL.
1). Create a J2EE agent profile
2). Use the API explorer to send the following request or send manually:
3). The response contains:
4). Using the admin UI adjust the agent profile so that the Agent Filter Mode is set to, for example, global SSO_ONLY by leaving the Map Key empty and setting the Map Value to SSO_ONLY (remove the default ALL entry).
5). Execute the curl request again and note the results:
1). Using the admin UI set the global value to SSO_ONLY and then use the API explorer to send the following request or send manually to set it back to global ALL:
This succeeds as expected.
2). Now try to set this to global SSO_ONLY by sending:
This fails with the following response rather than overwriting ALL:
3). Verify using the admin UI that the value is still set to ALL
4). Using the admin UI try to set it to SSO_ONLY and note that this now fails with the following error:
Note 6.0 SNAPSHOT version tested was 16 November 2017