Thanks for the quick reply. The problem is that I'm using Axis 1.4 (not Axis2), so then I can't use this.
Does anyone else know a way to fix this? Regards, Espen ----- Original Message ---- From: Vyacheslav Yakovenko <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, January 11, 2007 11:12:18 AM Subject: Re: simple username and password Hi Espen, Try to use the following open source library: http://www.webtair.com/sessionman/index.html. You can find the comprehensive example here: http://sessionman.googlecode.com/svn/trunk/sessionman-example . Article that describe the usage: http://www.webtair.com/articles/sessionman_en.html . -- WBR, Vaclav _________________________ http://www.wtg.kiev.ua http://www.vaclav.kiev.ua cv: http://www.vaclav.kiev.ua/cv gTalk: [EMAIL PROTECTED] icq: 196335325 On 1/11/07, Espen Falkevik < [EMAIL PROTECTED]> wrote:Hi. I want to implement some simple security for my webservice. From the client I want to set the username and password in the call (modify the generated stub files so that I have a createcall method which uses _call.setUsername("username") and _call.setPassword("password")). Then I want to retrieve the username and password on the server side (in the method that is published as a webservice). How can this be done? The security is only for checking some filtersettings, and will not be used to authenticate the user to see if the user has priveleges to access the service (this might be implemented later, so I don't want to send the username and password as input arguments in the method). Any help is appreciated Regards, Espen __________________________________________________ Bruker du Yahoo!? Lei av spam? Yahoo! Mail har den beste spambeskyttelsen http://no.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _________________________________________________________ Alt i én. Få Yahoo! Mail med adressekartotek, kalender og notisblokk. http://no.mail.yahoo.com
