There's another thread on this right now:
http://cxf.547215.n5.nabble.com/Ws-trust-java-first-jax-ws-td5477862.html
Did you include the cxf-rt-ws-policy dependency as shown here:
http://www.jroller.com/gmazza/entry/cxf_usernametoken_profile#UTCXF2?
Else the WS-SecPol statements will be ignored.
Glen
On 02/14/2012 04:27 AM, Penmatsa, Vinay wrote:
Hi,
Can you point me to an example of Java-first WS-SecurityPolicy?
The problem I have is though the wsdl shows the security policy, the policy is
not enforced when the client calls the service.
Using CXF 2.4.1
-Vinay
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza