[jira] [Comment Edited] (OFBIZ-4274) Implement a REST Servlet

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-4274) Implement a REST Servlet

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744174#comment-16744174 ]

Michael Brohl edited comment on OFBIZ-4274 at 1/16/19 3:52 PM:
---------------------------------------------------------------

We are talking about REST which should be stateless - no need to have the caller stayed logged in...

It was more targeted to the usual process where you have a /login request which returns a token with which you can do subsequent REST calls without providing your credentials everytime. See [1] for a better explanation.

But anyway, thanks for sharing!

[1] [https://stackoverflow.com/questions/26777083/best-practice-for-rest-token-based-authentication-with-jax-rs-and-jersey#26778123]

 


was (Author: mbrohl):
We are talking about REST which should be stateless - no need to have the coller stayed logged in...

It was more targeted to the usual process where you have a /login request which returns a token with which you can do subsequent REST calls without providing your credentials everytime. See [1] for a better explanation.

[1] https://stackoverflow.com/questions/26777083/best-practice-for-rest-token-based-authentication-with-jax-rs-and-jersey#26778123

> Implement a REST Servlet
> ------------------------
>
>                 Key: OFBIZ-4274
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4274
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Adrian Crum
>            Priority: Major
>              Labels: REST
>         Attachments: RestExampleSchema.xsd, RestXmlRepresentation.xml, rest-conf.xml, swagger-pos-openapi.png
>
>
> Implement a REST servlet that will map REST requests to OFBiz services. Details are in the comments.
> [here is the discussion which took place on the dev ML|http://markmail.org/message/ai6q2fbksowaayn4]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)