Single sign-on possible between web client and rest_ws?

Hi,

I know that the rest_ws plug-in requires that it be run from a non-authenticated Servoy solution, and that the rest_ws plug-in performs its own basic authentication if you enable it with a list of user groups. My question is whether instead of sending the userid/password to the rest_ws plug-in, would the plug-in accept the Servoy web client’s session cookie for authentication instead? This would effectively yield single sign-on to the web client and the rest services from within the same browser session. I have a scenario where I may like to be able to do this and can provide more detail if needed.

Thanks,

Guerry

Guerry,

Are you calling the rest-ws service from the browser?
This could only work if the rest-ws client call comes from the browser and not from the web client that is running from the application server.

Can’t you make the code you want to access available in a module of your solution?
That way you could just call it directly in the web client.

Rob