spring-interceptor-config.xml
2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- secutity configs -->
<bean id="securityConfigMap" class="org.springframework.beans.factory.config.YamlMapFactoryBean">
<property name="resources">
<list>
<value>classpath:security-key.yml</value>
</list>
</property>
</bean>
<bean id="securityInterceptor" class="com.yoho.activity.common.interceptor.SecurityInterceptor">
<property name="keyConfigMap" ref="securityConfigMap" />
<property name="isDebugEnable" value="${is_debug_enable:true}" />
<property name="excludeUrls">
<list>
<value>/LuckyUserNoticeRest/noticeByActId/</value>
<value>/LuckyDrawHandlerRest/luckyDraw/</value>
<value>.+/CocacolaController/.+</value>
<value>.+/CouponActivityController/.+</value>
<value>.+/staticFileManage/.+</value>
<value>.+/TencentMktController/.+</value>
<value>.+/ActVoteResultController/.+</value>
<value>.+/favorite/.+</value>
<value>.+/brandDraw/.+</value>
<value>.+/question/.+</value>
<value>/getUserActivityInfoByGateway</value>
<value>/addDrawlineUserQueueByGateway</value>
<value>/getDrawlineUserQueueListByGateway</value>
<value>/getLuckyUserListByGateway</value>
<value>/getActivityInfoByGateway</value>
<value>/changeTaskValueByGateway</value>
<value>/queryHelpInfo</value>
<value>/addHelpUserInfo</value>
<value>/addShareInfo</value>
<value>/getMyQueueList</value>
<value>/getQueueActivityList</value>
<value>/getQueueByUidAndActivity</value>
<value>/addCutPriceRecord</value>
<value>/queryMyCutPriceList</value>
<value>/queryCutPriceProductDetail</value>
<value>/addCutPriceHelpUserInfo</value>
<value>/queryCutPriceHelpUserInfos</value>
<value>/queryCutPriceProductForOrder</value>
<value>/addCutPriceUseRecord</value>
<value>/cancelCutPriceUseRecord</value>
<value>/queryEffectCutPriceActivity</value>
</list>
</property>
<property name="excludeMethods">
<list>
<value>app.drawline.sendAwardToLuckyUser</value>
<value>app.drawline.executeAddWhiteUser</value>
<value>app.drawline.executeAddVirtualUser</value>
</list>
</property>
</bean>
</beans>