Yes.
 
On the client side, the stubs generated by WSDL2java contain setUsername and setPassword methods.  Your clients will need to use these methods.
 
On the server side, you'll need to write an authentication handler.  Look at SimpleAuthenticationHandler as an example.  Add the handler to your service's wsdd file.
 
Now, before any method in your service is called, your user will be authenticated by your handler.
 
Hope this helps.
 
JDG


From: Suzy Fynes [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 8:39 AM
To: [EMAIL PROTECTED]
Subject: Authenication - username/pwd in request header

 

 

Hey,

 

Does anyone know if its possible to send a username and password in a request header to an Axis webservice and have the service authenticated the username and password through a mysql database?

 

Thanks

Suzy

Reply via email to