Unable to verify signature with Apache CXF and WSS4J on Websphere Application Server 8.5

2014-02-22 Thread Giriraj Bhojak
Hello, I am pretty sure someone must have faced this issue earlier. I have a cxf client deployed under a web-module A on WAS 8.5 with versions as cxf 2.7.8 and a wss4j 1.6.13. The service provider B is on Tomcat with similar configuration. I had to set the class loader policy for web project to pa

Re: Server Side Asynchronous processing support via CXF & NIO support

2014-02-22 Thread Bhupesh Tuteja
I have uploaded the maven project for the hello world test app and you can find the Jetty configuration in the pom.xml itself. Greeter.zip Thanks. -- View this message in context: http://cxf.547215.n5.nabble.com/Server-Side-Asynchr

Re: NullPointerException on Policy merge

2014-02-22 Thread wasew
Hi. Thank you. What must I set? My client Request Header must look like this: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc";> My Policy on WSDL is: http://schemas.xmlsoa

RE: dynamic ws-policy in message context -> java.lang.ClassCastException: org.apache.neethi.builders.PrimitiveAssertion cannot be cast to org.apache.cxf.ws.security.policy.model.UsernameToken

2014-02-22 Thread Andrei Shakirin
Hi, As far as I remember, POLICY_OVERRIDE is completely supported only in 2.5.2. Before this version the property was not checked for some of chains (server in). Your error message says that UsernameToken assertion was not created by CXF UsernameTokenBuilder. Could you set breakpoint in PolicyIn