You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2009/12/04 18:03:00 UTC

Re: Disabling WS-SecurityPolicy if Policy and Security modules present?

Glen, 

At this point, you cannot turn off the WS-SecPol stuff, but you CAN turn off 
the entire Policy engine.  See:

http://cxf.apache.org/docs/wspconfiguration.html


  <p:engine enabled="false" />

Dan


On Sun November 22 2009 5:49:37 pm Glen Mazza wrote:
> Hello, on this page:
> http://cwiki.apache.org/confluence/display/CXF20DOC/WS-SecurityPolicy, it
> says:
> 
> "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."
> 
> But can we explicitly *disable* WS-SecurityPolicy via configuration if we
> already have included those two modules?  Perhaps we should update our docs
> with this info.
> 
> Glen
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog