<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">


    <mvc:interceptors>

        <mvc:interceptor>
            <mvc:mapping path="/**"/>
            <bean class="com.baidu.dsp.common.interceptor.session.SessionInterceptor">
            </bean>
        </mvc:interceptor>

        <mvc:interceptor>
            <mvc:mapping path="/**"/>
            <bean class="com.baidu.dsp.common.interceptor.login.LoginInterceptor">
                <property name="notJsonPathList">
                    <list>
                        <value>/</value>
                    </list>
                </property>
                <property name="notInterceptPathList">
                    <list>
                        <value>/api/account/signin</value>
                        <value>/api/zoo/hosts</value>
                        <value>/api/zoo/prefix</value>
                        <value>/api/config/item</value>
                        <value>/api/config/file</value>
                        <value>/api/config/list</value>
                        <value>/api/config/simple/list</value>
                    </list>
                </property>
                <property name="XONE_COOKIE_DOMAIN_STRING">
                    <value>${domain}</value>
                </property>
            </bean>
        </mvc:interceptor>

    </mvc:interceptors>

</beans>