Jon, I am creating a handler that adds WS-Security UsernameToken header to the request. It will do exactly what you are looking for. I am almost done with it and will be posting the code to the list in a day or two. Look out for it.
Sanjesh -----Original Message----- From: Jon Blower [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 7:33 AM To: [EMAIL PROTECTED] Subject: Simple username-password security with Axis? Dear Axis users, I would like to add a very basic level of security to my Web Service. I would like users to be authenticated by simply including a username and password in the SOAP message when calling the Web Service. What's the easiest way of encrypting the username/password so it can't be decrypted if someone intercepts the SOAP message? I don't need a solution with maximum security - the authentication is basically to keep track of who's using the Web Service and to provide different levels of access to different users. The Web Service in question involves significant server load, so the security is just intended to prevent unauthenticated users submitting requests that will hold up the server. I have even considered sending the username/password unencrypted, but ideally I would like a bit more security than this if it's not hard to implement. Only the username/password part of the message would have to be encrypted. I've looked on the Web for appropriate toolkits/APIs but haven't been able to track down an obvious solution. Thanks in advance for any help or advice, Jon -- -------------------------------------------------------------- Dr Jon Blower Tel: +44 118 378 5213 (direct line) Research Fellow Tel: +44 118 378 8741 (ESSC) ESSC Fax: +44 118 378 6413 University of Reading Email: [EMAIL PROTECTED] 3 Earley Gate Reading RG6 6AL, UK --------------------------------------------------------------