2012-02-12 02:55:42 -03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-11-04 01:06:02 -03: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
|
|
|
|
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
2012-02-12 02:55:42 -03:00
|
|
|
|
|
|
|
<bean id="viewSecurityAdvisor"
|
|
|
|
class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
|
|
|
<property name="advice">
|
|
|
|
<ref local="viewSecurityAdvice"/>
|
|
|
|
</property>
|
|
|
|
<property name="mappedNames">
|
|
|
|
<list>
|
|
|
|
<value>getMindmapUserBy</value>
|
2012-06-17 19:16:39 -03:00
|
|
|
<value>getMindmapById</value>
|
|
|
|
<value>find*</value>
|
|
|
|
<value>filter*</value>
|
2012-02-12 02:55:42 -03:00
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="updateSecurityAdvisor"
|
|
|
|
class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
|
|
|
|
<property name="advice">
|
|
|
|
<ref local="updateSecurityAdvice"/>
|
|
|
|
</property>
|
|
|
|
<property name="mappedNames">
|
|
|
|
<list>
|
2012-06-09 22:49:54 -03:00
|
|
|
<value>save*</value>
|
2012-02-12 02:55:42 -03:00
|
|
|
<value>update*</value>
|
|
|
|
<value>add*</value>
|
|
|
|
<value>remove*</value>
|
2013-03-28 12:28:53 -03:00
|
|
|
<value>purge*</value>
|
2012-06-17 19:16:39 -03:00
|
|
|
<value>revert*</value>
|
2012-02-12 02:55:42 -03: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>
|