05-20-2006 6:45 AM
Hi,
How to add a security for webservices in NetWeaver Developer Studio.
regards,
Guru
05-20-2006 7:06 AM
What does that mean by adding security on NWDS?
If you mean building Portal WebService client and and requires the authentication via User mapping or SAP Logon ticket, you can use
I<Service> clientUserObj = client.getSecurisedServiceConnection(request.getUser);
Regards,
Piyush
ps: please mark for useful answers.
05-20-2006 7:06 AM
What does that mean by adding security on NWDS?
If you mean building Portal WebService client and and requires the authentication via User mapping or SAP Logon ticket, you can use
I<Service> clientUserObj = client.getSecurisedServiceConnection(request.getUser);
Regards,
Piyush
ps: please mark for useful answers.
05-20-2006 7:14 AM
hi,
can i add security like userName and passWord while creatin webservice for a session bean.
my requirement is only authorised users can use the webservice.
regards
Guru
05-20-2006 7:19 AM
Yes. You can do that.
In place of getting User Object from request, thorugh request.getUser?()
create IUser and pass it to the method.
Regards,
Piyush
ps: please award points if you find the answer useful.
05-20-2006 5:22 PM
Hi
please check the link below
Authentication of a Web Service Client with User-Password Request
Web Service Authentication help
http://help.sap.com/saphelp_nw04/helpdata/en/7c/a6d13f83a14d21e10000000a1550b0/frameset.htm
please scroll at teh end of teh above page and u will all the details in the lonk at teh end
Hope this helps, please mark points for helpful answers
regards
rajeshkr