spring-interceptor-config.xml
4.7 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?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.unions.interceptor.SecurityInterceptor">
<property name="keyConfigMap" ref="securityConfigMap" />
<property name="isDebugEnable" value="${is_debug_enable:true}" />
<property name="excludeUrls">
<list>
<value>/UnionRest/addUnion</value>
<value>/ActivateUnionRest/queryIpsById</value>
<value>/ActivateUnionRest/querySknsById</value>
<value>/ActivateUnionRest/queryMonitorList</value>
<value>/ActivateUnionRest/activateUnion</value>
<value>/ClickUnionRest/addUnion</value>
<value>/ClickUnionRest/addCommonUnion</value>
<value>/ClickUnionRest/queryUnionClickLogs</value>
<value>/ClickUnionRest/queryUnionActivityLogs</value>
<value>/ClickUnionRest/queryPVandUV</value>
<value>/ClickUnionRest/addUnion4Special</value>
<value>/ClickUnionRest/addMonitor</value>
<value>/ActivateUnionRest/test</value>
<value>/MobvistaUnionRest/addUnion4Mobvista</value>
<value>/ActivateUnionRest/addActivate</value>
<value>/ActivateUnionRest/queryActivateDeviceId</value>
<value>/ActivateUnionRest/queryYHActivateDeviceId</value>
<value>/ActivateUnionRest/canlogin</value>
<value>/UnionRest/addYas</value>
<value>/ActivateUnionRest/queryActivateCount</value>
<value>/ActivateUnionRest/queryActivateHour</value>
<value>/ActivateUnionRest/queryActivateDay</value>
<value>/ActivateUnionRest/queryByDeviceId</value>
<value>/channel/addActualCostForGDT</value>
<value>/jump</value>
<value>/go</value>
<value>/pushUnionOrders</value>
<value>/ClickUnionRest/addUnion4Jump</value>
<value>/ClickUnionRest/addUnion4Jump/goitunes</value>
<value>/ClickUnionRest/addUnion4Jump/goandroid</value>
<value>/PayChannelRest/getChannelType</value>
<value>/UnionRest/addBigData</value>
<value>/tencentMkt/TencentMktController/sendSms</value>
<value>/tencentMkt/TencentMktController/getActivityInfo</value>
<value>/tencentMkt/TencentMktController/validRegCodeAndSendCode</value>
<value>/channel/queryChannelGroupList</value>
<value>/channel/sendMessage</value>
<value>/channel/addBlackList</value>
<value>/channel/queryBlackList</value>
<value>/channel/getCondition</value>
<value>/channel/user_list</value>
<value>/channel/addGroup</value>
<value>/channel/user_msg_list</value>
<value>/channel/addBlack</value>
<value>/channel/deleteBlack</value>
<value>/channel/deleteGroup</value>
<value>/LoginController/loginForPid.do</value>
<value>/batch/export.do</value>
<value>/batch/import</value>
<value>/mktReportForm/getMktReportForm</value>
</list>
</property>
<property name="excludeMethods">
<list>
</list>
</property>
</bean>
</beans>