Hi,

 I've build a library that calls a set of webservices (provided by the
same application) with CXF.

  I've my own interceptor that is attached to the Bus :

<cxf:bus>
  <cxf:features>
    <p:policies />
    <cxf:logging />
  </cxf:features>
  <cxf:outInterceptors>
    <ref bean="AMXBPMSecurityWSS4JOutInterceptor" />
  </cxf:outInterceptors>
</cxf:bus>

 My library is included in a webapplication, that needs to consume
another webservice (different from the one used by my library).

 with my interceptor I trap all outgoing soap call, so it interfere
with the webapp soap call, and make them fail for security reasons.

 How can I configure my interceptor only for a set of clients, so that
my library is agnostic and do not interfere with other soap call?

 All example I've found attach the interceptor to the bus.

Regards,
Thomas.

Reply via email to