You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ashish Kulkarni <as...@gmail.com> on 2007/09/24 21:18:38 UTC

How to pass user id and password to Webservice

Hi
How to pass userid and password, to validate user calling web service.
I want to validate userid and password against some validation framework, so
what is the best way to pass it
Weather to put it in Header element of web service? or weather in Body
Element?
What is the best practise, are there any sample code for doing so

Ashish

Re: How to pass user id and password to Webservice

Posted by Ted Jones <te...@redhat.com>.
Ashish,

You can use one of several authentication protocols with Axis2. Here are some useful links:

http://wso2.org/library/161

http://ws.apache.org/axis2/modules/rampart/1_1/security-module.html


Thanks,
Ted

----- Original Message -----
From: "Ashish Kulkarni" <as...@gmail.com>
To: axis-user@ws.apache.org
Sent: Monday, September 24, 2007 2:18:38 PM (GMT-0600) America/Chicago
Subject: How to pass user id and password to Webservice

Hi 
How to pass userid and password, to validate user calling web service. 
I want to validate userid and password against some validation framework, so what is the best way to pass it 
Weather to put it in Header element of web service? or weather in Body Element? 
What is the best practise, are there any sample code for doing so 

Ashish 





---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org