All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sk.seges.acris.security.server.spring.context.acris-security-object-annotation-injection.xml Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
	   xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                           http://www.springframework.org/schema/aop 
                           http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">

 	<aop:config>
    	<aop:pointcut id='serviceMethods' expression='@annotation(javax.annotation.security.RolesAllowed) || 
    												  @annotation(sk.seges.acris.security.server.core.annotation.RunAs) || 
    												  @annotation(sk.seges.acris.security.server.core.annotation.PreExecutionAclEvaluation) || 
    												  @annotation(sk.seges.acris.security.server.core.annotation.PostExecutionAclEvaluation)'/>
      	<aop:advisor advice-ref='objectManagerSecurity' pointcut-ref='serviceMethods' />
 	</aop:config>

    <bean id="objectDefinitionSource" class="sk.seges.acris.security.server.spring.annotation.processor.DefaultSecurityAnnotationProcessor" />
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy