You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "raulvk.soa" <ra...@gmail.com> on 2010/04/20 00:54:40 UTC

WS-Security UsernameToken password in servicemix-http

Hi

On a servicemix-http provider endpoint, we are trying to use an http:policy
which contains a soap:ws-security handlers that inserts a UsernameToken and
Password (PasswordText type) on the outbound SOAP message.

How do we indicate the password to be used? (Or password callback handler if
that's the case). The password is static, and the user is unique.

Our config takes the form of:

<http:endpoint role="provider" soap="true" ...>

   <http:policies>
       <soap:ws-security sendAction="UsernameToken" />
   </http:policies>

</http:endpoint>


Many thanks,
Raúl.
-- 
View this message in context: http://old.nabble.com/WS-Security-UsernameToken-password-in-servicemix-http-tp28287768p28287768.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: WS-Security UsernameToken password in servicemix-http

Posted by "raulvk.soa" <ra...@gmail.com>.
Sorry, forgot to mention that in our case it is a requirement to use
servicemix-http, therefore using servicemix-cxf-bc is not an option.

Many thanks!


raulvk.soa wrote:
> 
> Hi
> 
> On a servicemix-http provider endpoint, we are trying to use an
> http:policy which contains a soap:ws-security handler that inserts a
> UsernameToken and Password (PasswordText type) on the outbound SOAP
> message.
> 
> How do we indicate the password to be used? (Or password callback handler
> if that's the case). The password is static, and the user is unique.
> 
> Our config takes the form of:
> 
> <http:endpoint role="provider" soap="true" ...>
> 
>    <http:policies>
>        <soap:ws-security sendAction="UsernameToken" />
>    </http:policies>
> 
> </http:endpoint>
> 
> 
> Many thanks,
> Raúl.
> 

-- 
View this message in context: http://old.nabble.com/WS-Security-UsernameToken-password-in-servicemix-http-tp28287768p28287769.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.