Single sign-on possible between web client and rest_ws?

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Single sign-on possible between web client and rest_ws?

Postby guerry » Fri Mar 18, 2011 1:02 am

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
 
Posts: 37
Joined: Tue Nov 09, 2010 4:51 pm

Re: Single sign-on possible between web client and rest_ws?

Postby rgansevles » Mon Mar 28, 2011 10:26 am

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Web Development

Who is online

Users browsing this forum: No registered users and 2 guests