Hi, This is possible *only* is you use Rampart-1.0 style configuration.
Please try adding "addUTElements" element into OutflowSecurity parameter
as shown below:
<parameter name="OutflowSecurity">
<action>
<items>UsernameToken</items>
<user>bob</user>
<passwordCallbackClass>org.apache.rampart.samples.sample03.PWCBHandler</passwordCallbackClass>
<passwordType>PasswordText</passwordType>
<addUTElements>Nonce</addUTElements>
</action>
</parameter>
Thanks,
Ruchith
[EMAIL PROTECTED] wrote:
> Hi there,
>
> Is there a way to force Rampart to put the <wsse:Nonce> and <wsu:Created>
> elements within wsse:UsernameToken even if only PasswordType=PasswordText is
> set?
>
> Many thanks for your support.
>
> Regards,
>
> Mario Stettler
>
> yellowworld AG
> Zentweg 25
> Postfach
> 3030 Bern
>
> Tel. Nr.: +41 (0) 58 338 73 81
> Fax Nr.: +41 (0) 58 338 65 35
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.yellowworld.ch
>
> Wir betreiben für Sie Ihre Billing- und Logistikprozesse.
>
>
>
signature.asc
Description: OpenPGP digital signature
