cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjeevghimire <gsanje...@gmail.com>
Subject issue configuring ws-security using apache cxf and private key
Date Tue, 22 Apr 2014 21:24:32 GMT
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.

Mime
View raw message