cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Cappoen <b.capp...@gmail.com>
Subject Overriding a specific interceptor from the cxf bus
Date Wed, 24 Oct 2012 21:35:11 GMT
Hi everybody, i'm using a LoggingInInterceptor on the cxf bus to log
all the requests of my webservices.
It works perfectly.
In my webservices, i have a secure webservice for authentication. The
password is in the request (payload) and it is displayed
in the log.

Is it possible to disable the LoggingInInterceptor for a specific
webservice ? Have you got a solution ?

I don't want to specify for each webservice the interceptor because i
have many webservices and here, it's a specific need.


Thank you for your help.



<beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:cxf="http://cxf.apache.org/core"
      xsi:schemaLocation="http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsdhttp://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

    <bean id="logInbound"
class="org.apache.cxf.interceptor.LoggingInInterceptor"/>


    <cxf:bus>
        <cxf:outInterceptors>
            <ref bean="logInbound"/>
        </cxf:outInterceptors>
    </cxf:bus> </beans>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message