Hi Nencho, You can use "IncludeToken "attribute as follows.
<sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once" /> Refer policy spec available here, ftp://www6.software.ibm.com/software/developer/library/ws-secpol122002.pdf Cheers, Dimuthu http://wso2.org On Fri, 2007-04-27 at 11:07 +0300, Nencho Lupanov wrote: > Hi all, > > i have a client that is forced (by ws security policy) to send username > token. > I need this client to send the token only one - the first time it contacts > the service, so > how can i dis-aplly(remove) the client side policy info from the client or > how can i change the policy at the client side. > I want that since i need single sign on function relying on the axis2 > session management(scope session ) but i still > don't know how rampart will react on the second call?Does axis2 has some > functionality on changing the policies on the server side? > > Thanks, > Nencho --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]