On Tue, Dec 14, 2010 at 11:48 AM, srinivas thallapalli < sree.tallapa...@gmail.com> wrote:
> > Hi, > > I am working on applying ws-security for my cxf service using wss4j, to > enable encrption > trying to pass crypto properties with java.util.Properties to > WSHandlerConstants.ENC_PROP_REF_ID > as below, but it gives ClassCastException, could anybody please let me know > any thing wrong this approach. > > outProps.put(WSHandlerConstants.ACTION, "Encrypt"); > outProps.put(WSHandlerConstants.ENCRYPTION_USER, "serverx509v2"); > outProps.put(WSHandlerConstants.ENC_PROP_REF_ID, propertiesobject); > > WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor(outProps); > > > Thanks > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Problem-with-WSS4J-and-CXF-tp3304120p3304120.html > Sent from the cxf-user mailing list archive at Nabble.com. >