See here: https://cxf.apache.org/docs/ws-security.html
Colm. On Tue, Apr 22, 2014 at 10:24 PM, sanjeevghimire <gsanje...@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