cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: issue configuring ws-security using apache cxf and private key
Date Fri, 25 Apr 2014 09:10:39 GMT
See here: https://cxf.apache.org/docs/ws-security.html

Colm.


On Tue, Apr 22, 2014 at 10:24 PM, sanjeevghimire <gsanjeev7@gmail.com>wrote:

> Hi All,
>
> I am using Apache cxf 2.7.6 and trying to configure the security based on
> username token, timestamp and signature. for the signautre part I only have
> the private key which I am suppose to sign with.
>
> how can i configure that in java using apache cxf to digital sign the
> request.
> can anybody tell me what has to be setup in teh outProps so that i can use
> the private key.
>
> Map<String, Object> outProps = new HashMap<String, Object>();
> WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor( outProps );
>         Endpoint cxfEP = client.getEndpoint();
>         cxfEP.getOutInterceptors().add(wssOut);
>
>
>
> Sanjeev
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/issue-configuring-ws-security-using-apache-cxf-and-private-key-tp5743149.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message