sk.seges.acris.security.server.spring.context.acris-security-object-manager-context.xml Maven / Gradle / Ivy
<?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" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd"> <bean id="objectManagerSecurity" class="org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor" autowire="byType"> <property name="accessDecisionManager" ref="businessAccessDecisionManager" /> <property name="objectDefinitionSource" ref="objectDefinitionSource" /> <property name="authenticationManager" ref="authenticationManager" /> <property name="runAsManager" ref="runAsManager" /> </bean> <bean id="businessAccessDecisionManager" class="org.springframework.security.vote.UnanimousBased"> <property name="allowIfAllAbstainDecisions" value="true" /> <property name="decisionVoters"> <list> <ref bean="roleVoter" /> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy