I am trying to get the rampart sts policy sample 05 to use a usernametoken
and I have added the following in my sts_policy.xml file

<sp:SignedSupportingTokens wsp:Usage="wsp:Required" xmlns:sp="
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
     <wsp:Policy>
          <sp:UsernameToken sp:IncludeToken="
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";
/>
     </wsp:Policy>
</sp:SignedSupportingTokens>

When I run the client, I do not see any usernametoken in the soap message
going to the sts.

Please help!

Reply via email to