2012-02-12 06:55:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-11-04 05:06:02 +01:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
2020-11-07 20:56:38 +01:00
|
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd">
|
2012-02-12 06:55:42 +01:00
|
|
|
|
|
|
|
<bean id="viewSecurityAdvisor"
|
|
|
|
class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
2020-11-07 20:56:38 +01:00
|
|
|
<property name="advice" ref="viewSecurityAdvice"/>
|
2012-02-12 06:55:42 +01:00
|
|
|
<property name="mappedNames">
|
|
|
|
<list>
|
|
|
|
<value>getMindmapUserBy</value>
|
2012-06-18 00:16:39 +02:00
|
|
|
<value>getMindmapById</value>
|
2014-03-09 06:33:06 +01:00
|
|
|
<value>linkLabel</value>
|
2012-06-18 00:16:39 +02:00
|
|
|
<value>find*</value>
|
|
|
|
<value>filter*</value>
|
2012-02-12 06:55:42 +01:00
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="updateSecurityAdvisor"
|
|
|
|
class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
2020-11-07 20:56:38 +01:00
|
|
|
<property name="advice" ref="updateSecurityAdvice"/>
|
2012-02-12 06:55:42 +01:00
|
|
|
<property name="mappedNames">
|
|
|
|
<list>
|
2012-06-10 03:49:54 +02:00
|
|
|
<value>save*</value>
|
2012-02-12 06:55:42 +01:00
|
|
|
<value>update*</value>
|
|
|
|
<value>add*</value>
|
|
|
|
<value>remove*</value>
|
2013-03-28 16:28:53 +01:00
|
|
|
<value>purge*</value>
|
2012-06-18 00:16:39 +02:00
|
|
|
<value>revert*</value>
|
2012-02-12 06:55:42 +01:00
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="updateSecurityAdvice" class="com.wisemapping.security.aop.UpdateSecurityAdvise">
|
|
|
|
<property name="mindmapService" ref="mindmapService"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="viewSecurityAdvice" class="com.wisemapping.security.aop.ViewBaseSecurityAdvise">
|
|
|
|
<property name="mindmapService" ref="mindmapService"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
</beans>
|