[
https://jira.nuxeo.com/browse/NXP-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=88058#action_88058
]
Thierry Delprat commented on NXP-6265:
--------------------------------------
Typicall OAuth POST Call to Automation
POST
/nuxeo/site/automation/Document.Query?ts=12960807123736.07916657321221&opensocial_owner_id=Administrator&opensocial_viewer_id=Administrator&xoauth_signature_publickey=nuxeo4shindig&xoauth_public_key=nuxeo4shindig&oauth_version=1.0&oauth_timestamp=1296080712&oauth_consumer_key=nuxeo4shindig-baa3dca7-46a1-4856-911e-b9b620819c59&oauth_signature_method=HMAC-SHA1&oauth_nonce=133589990426301&oauth_signature=SPTLlLJ9CyO8G4RVSRPqb1IulLI%3D
HTTP/1.1
Content-Length: 167
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
X-Forwarded-For: 127.0.0.1
X-shindig-dos: on
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
jsondata=%7B%22params%22%3A%7B%22query%22%3A%22Select%20*%20from%20Document%22%7D%2C%22context%22%3A%7B%7D%2C%22documentProperties%22%3A%22common%2C%20dublincore%22%7D
NB : decoded param here is {"params":{"query":"Select * from
Document"},"context":{},"documentProperties":"common, dublincore"}
> Make Automation REST API compatible with OAuth and OpenSocial call
> ------------------------------------------------------------------
>
> Key: NXP-6265
> URL: https://jira.nuxeo.com/browse/NXP-6265
> Project: Nuxeo Enterprise Platform
> Issue Type: Sub-task
> Components: Automation, Dashboard / OpenSocial, Security / Rights
> Affects Versions: 5.4.0.1
> Reporter: Thierry Delprat
> Assignee: Thierry Delprat
> Fix For: 5.4.1
>
>
> OAuth implies that POST requests must be x-www-form-urlencoded
> => need to adapt OAuth filter to handle POST request
> => need to update Automation Server so that we have a compliant MessageReader
> Furthermore Automation uses some additional headers to configure the output.
> OpenSocial does remove all the header except the OAuth headers.
> Even if we can fix this in Nuxeo/Shindig implementation, this will still be
> an issue for almost all OpenSocial containers.
> => must provide an alternate solution based on the POST body content
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets