Enabling WS-SecurityPolicy
In CXF 2.2, if the cxf-rt-ws-policy and cxf-rt-ws-security modules are available on the classpath, the WS-SecurityPolicy stuff is automatically enabled. Since the entire security runtime is policy driven, the only requirement is that the policy engine and security policies be available.
If you are using the full "bundle" jar, all the security and policy stuff is already included.