Hi,

If you are using Axis2 you can use the Axis2 security module [1] to do this.

Please see this simple how-to [2] document and try it out.

Example:
   client's configured axis2.xml file - [3]
   the service's services.xml file - [4]

Thanks,
Ruchith

[1] 
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/modules/wss4j/0_95/security-0.95.mar
[2] http://ws.apache.org/axis2/0_95/security-module.html
[3] 
https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test-resources/security/s1.client.axis2.xml
[4] 
https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test-resources/security/s1.service.xml

On 4/5/06, Daniel Destro <[EMAIL PROTECTED]> wrote:
> Hi Xinjun,
>
> As I can see you are trying to add some Security to your Web Services,
> right?
>
> Are you doing a User Authentication / Authorization using this
> UsernameToken?
>
> I need to do that!
>
> How do add UsernameToken into to the SOAP request and how do u read /
> validate UsernameToken from the SOAP request (server-side) ???
>
> Thanks
> Daniel
>

Reply via email to