Hi Stephen and Walid, I have an exta idea with stephon's comment. I thing Walid wants authorization for his wsmethods rather than authentication. For that it seems it is better to have authorization handler tha authentication handler.(May be both.). Walid........you better look at authorization handler as well to verify your expectation.
Regards, Jeyakumaran.C ----- Original Message ----- From: "Stephen Gordon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 12, 2003 7:49 PM Subject: Re: Login/Password for using WS > did you take a look at > org.apache.axis.handlers.SimpleAuthenticationHandler ??? > > There is a basic user/password implementation there, which u can extend > if u want... > > also check the docs for how it works > > stephen > > Walid wrote: > > Hello, > > > > I am deploying a WS but I want users to authenticate with a login/password > > in order to have access to the WS methods. > > > > How can I do that ? > > > > I thought about writing a login(username, password) method and store the > > user session ID (taken from the SOAP Header) somewhere. And then check > > if the user has successfully authenticated before trying to use the WS. > > But I have no idea how to retrive the user ID. > > > > > > I am using Java2WSDL and WSDL2Java to write the client and server of my WS. > > > > Thanks for your help... > > > > > >
