Regarding Security on http_listener

Jun 5, 2015 at 2:52 PM
Edited Jun 5, 2015 at 2:55 PM
I want to provide log in / password based security on webserver which is implemented using Casablanca REST KIT. Can you Please suggest me how to do that?..It is very urgent

Currently I am using http_listener to implement webserver as follows

CATMWebService listner(U("http://localhost/restkitest"));
listner.open().wait();
it is working without security.

Thanks in Advance
-Ram
Jun 5, 2015 at 6:55 PM
Hi Ram,

Our http_listener doesn't have any support for authentication. You will have to perform some sort of authentication yourself.

Steve
Jun 6, 2015 at 8:58 AM
Thanks for your message Steve. Please guide me how to do that? Any ideas or any Links to start?

-Ram
Jun 8, 2015 at 5:44 PM
Hi Ram,

I don't have any code examples or anything. Basically you will need to find a way to have your clients/servers identify each other. Another option is perhaps to implement one the authentication protocols in the library.

Steve
Jun 9, 2015 at 12:06 PM
Thanks Steve. I am using abstract session pattern to provide security on top of webservice.

-Ram

Jun 16, 2015 at 4:02 PM
HI Steve,

Can you name the athentication protocols libraries. I am struggling to find code for that.

-Ram