Hi all,

Need some clarity on SCIM claim dialect.

I tried to add some claims which are described in "urn:scim:schemas:core:1.0
<https://localhost:9443/carbon/claim-mgt/claim-view.jsp?store=Internal&dialect=urn:scim:schemas:core:1.0>"
claim dialect.(e.g. urn:scim:schemas:core:1.0:addresses.region). But It was
not getting added.

However some claims got set (e.g. urn:scim:schemas:core:1.0:title)

*Request*

curl -v -k --user admin:admin --data
"{"schemas":[],"title":"Mr","region":"colombo","name":{"familyName":"dhanushka","givenName":"gayan"},"userName":"gayan","password":"gayan","emails":[{"primary":true,"value":"
gayanl...@gmail.com","type":"home"},{"value":"gay...@wso2.com","type":"work"}]}"
--header "Content-Type:application/json"
https://localhost:9443/wso2/scim/Users


*Response*

{"id":"b60eec86-ce16-4de3-b1ba-cb1c42c3d2f9","title":"Mr","schemas":["urn:scim:schemas:core:1.0"],"name":{"familyName":"dhanushka","givenName":"gayan"},"userName":"gayan","emails":[{"value":"
gayanl...@gmail.com","type":"home"},{"value":"gay...@wso2.com
","type":"work"}],"meta":{"lastModified":"2015-05-12T16:47:40","location":"
https://localhost:9443/wso2/scim/Users/b60eec86-ce16-4de3-b1ba-cb1c42c3d2f9
","created":"2015-05-12T16:47:40"}}

Any particular reason for this behavior ?


Regards



-- 
Gayan Dhanuska
Software Engineer
http://wso2.com/
Lean Enterprise Middleware

Mobile
071 666 2327

Office
Tel   : 94 11 214 5345
Fax  : 94 11 214 5300

Twitter : https://twitter.com/gayanlggd
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to