axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Gordon <st...@student.usyd.edu.au>
Subject Re: Login/Password for using WS
Date Sun, 12 Oct 2003 13:49:02 GMT
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...
> 
> 



Mime
View raw message