-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 12.0.0, 12.0.1, 13.0.0
-
Component/s: rest
-
Labels:
-
Environment:OpenAM 13.0.0-SNAPSHOT Build 12122 (2015-January-20 02:39)
REST PUT create realm makes 400 if I provide "If-None-Match: *" in the request
STEP TO REPRODUCE:
1. Create a realm
curl --request PUT --header "iPlanetDirectoryPro: <ADMIN TOKEN>" --header "Content-Type: application/json" --header "If-None-Match: *" --data '{ }' "http://centos6-64.example.com:8080/openam/json/realms/testRealm?_prettyPrint=true"
Observed result:
{ "code" : 400, "reason" : "Bad Request", "message" : "Bad Request" }
Expected result:
{ "realmCreated" : "/testRealm" }
I am able to create a realm, if I don't provide "If-None-Match: *" header.
After fix, please pass this issue to doc.:
http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/dev-guide/index.html#rest-api-create-realm
- is related to
-
OPENAM-5463 REST PUT - realm is created without providing "If-None-Match: *" header in a request
-
- Resolved
-
-
OPENAM-5506 Missing header "If-None-Match: *" for creating realm in developer guide
-
- Closed
-