Hi All,

I have the situation where from HTML dialog I need to make custom Ajax call to ivy Web Service in the same process. I`m wandering what would be the implications of this approach regarding the security context.

The Ajax call will send a HTTP request with the cookie session of the currently logged user. Will this be enough for ivy engine to identify the user ?

This question is also valid for the future release 6.2 when it comes to REST services.

Best Regards, Yordan

asked 23.06.2016 at 17:40

Stelt0's gravatar image

Stelt0
(suspended)
accept rate: 12%


Hi

With 6.2 this will not work because we do not consider the http session when processing REST services.

But your use case is interesting. I will report a feature request for it. Maybe it will be integrated to 6.3.

link

answered 24.06.2016 at 14:34

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Danke !

This will provide a lot of capabilities to integrate with the newest JavaScript frameworks.

Best Regards, Yordan

(24.06.2016 at 15:54) Stelt0 Stelt0's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40
×33
×16
×4

Asked: 23.06.2016 at 17:40

Seen: 2,141 times

Last updated: 27.06.2016 at 08:50