spring-interceptor-config.xml 10.1 KB
<?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>/UserRegisterBuy/getUserRegisterBuyList</value>
                            <value>/UnionRest/addUnion</value>
                            <value>/ActivateUnionRest/queryIpsById</value>
                            <value>/ActivateUnionRest/querySknsById</value>
                            <value>/ActivateUnionRest/queryMonitorList</value>
                            <value>/ActivateUnionRest/activateUnion</value>
                            <value>/ActivateUnionRest/fixUnion</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/queryInvalidHour</value>
                            <value>/ActivateUnionRest/queryInvalidDay</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>/UnionRest/cleanUnionLogs</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>
                            <value>/UnionRest/queryUnionOrders</value>
                            <value>/UnionRest/dealOrderCallBackTask</value>
                            <value>/getProdcutDetail</value>
                            <value>/pushArticle</value>
                            <value>/UnionClickCountDayRest/delete</value>
                			<value>/UnionClickCountDayRest/count</value>
                			<value>/UnionShareRest/getShareInfoByUid</value>
                			<value>/UnionShareRest/checkSettlement</value>
                			<value>/UnionShareRest/addSettlement</value>
                			<value>/UnionShareRest/sendSettlementMqToErp</value>
                			<value>/UnionShareRest/queryUnionShareOrder</value>
                            <value>/UnionShareRest/queryUnionTypeByUid</value>
                            <value>/UnionShareRest/queryShareTotal</value>
                            <value>/UnionShareRest/queryBannerInfoByUid</value>
                            <value>/UnionShareRest/queryRecentlyOrderLimitTen</value>
                            <value>/UnionShareRest/queryOderDetail</value>
                            <value>/UnionShareRest/querySettlementRecord</value>
                            <value>/UnionShareRest/queryOrderList</value>
                            <value>/UnionShareRest/queryUnionShareOrders</value>
                            <value>/UnionShareRest/mqUnionShareOrder</value>
                            <value>/UnionShareRest/mqUnionSettleUpdate</value>
                            <value>/UnionShareRest/mqFansRelation</value>
                            <value>/UnionShareRest/bindBankCard</value>
                            <value>/UnionShareRest/getBankList</value>
                            <value>/UnionShareRest/getBankCard</value>
                            <value>/UnionShareRest/getBankCardUfo</value>
                            <value>/UnionShareRest/checkBankCard</value>
                            <value>/UnionShareRest/queryUnionShareUserBanks</value>
                            <value>/UnionShareRest/queryUnionShareUserApplys</value>
                            <value>/UnionShareRest/queryUnionShareUsers</value>
                            <value>/UnionShareRest/getSocialMediaBasicParams</value>
                            <value>/UnionShareRest/cancelUserBanks</value>
                            <value>/UnionShareRest/updateBankBranch</value>
                            <value>/UnionShareRest/refuseApply</value>
                            <value>/UnionShareRest/agreeApply</value>
                            <value>/UnionShareRest/passSpecialFans</value>
                            <value>/UnionShareRest/specialAward</value>
                            <value>/UnionShareRest/specialAwardChange</value>
                            <value>/UnionShareRest/userApply</value>
                            <value>/UnionShareRest/checkApply</value>
                            <value>/UnionShareRest/resetApply</value>
                            <value>/UnionShareRest/queryActivityOrder</value>
                            <value>/UnionShareRest/queryEstimateDetailList</value>
                            <value>/UnionShareRest/queryInviteList</value>
                            <value>/UnionShareRest/queryInviteYohoList</value>
                            <value>/UnionShareRest/queryRank</value>
                            <value>/UnionShareRest/updateMonthData</value>
                            <value>/UnionShareRest/addVirtual</value>
                            <value>/UnionShareRest/toAddVirtual</value>
                            <value>/UnionShareRest/dealExtraActivityTask</value>
                            <value>/UnionShareRest/dealNewUserActivityTask</value>
                            <value>/UnionShareRest/reParticipateActivity</value>
                            <value>/UnionShareRest/dealInviteYohoTask</value>
                            <value>/UnionShareRest/clearActivity</value>
                            <value>/UnionShareRest/getStatisticsInfo</value>
                            <value>/UnionShareRest/queryUnionShareOrdersMonthList</value>
                            <value>/UnionShareRest/queryMessageList</value>
                            <value>/UnionShareRest/queryUnionShareMessageList</value>
                            <value>/fileupload/upload</value>
                            <value>/UnionShareRest/addMessage</value>
                            <value>/UnionShareRest/deleteMessage</value>
                            <value>/UnionShareRest/getMessageById</value>
                            <value>/UnionShareRest/updateMessage</value>
                            <value>/UnionShareRest/queryActivityPage</value>
                            <value>/UnionShareRest/preJoinActivity</value>
                            <value>/UnionShareRest/getIdentityCard</value>
                            <value>/UnionShareRest/bindIdentityCard</value>
                            <value>/UnionShareRest/batchGetIdentityCard</value>
                            <value>/UnionShareRest/reject</value>
                     </list>
              </property>
              <property name="excludeMethods">
                     <list>
                            
                     </list>
              </property>
       </bean>
</beans>