1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| <!-- ========================= gestion des méthodes ========================= -->
<!-- beans pour l annotations acegi security - java 5-->
<bean id="attributes" class="org.acegisecurity.annotation.SecurityAnnotationAttributes"/>
<bean id="objectDefinitionSource" class="org.acegisecurity.intercept.method.MethodDefinitionAttributes">
<property name="attributes"><ref local="attributes"/></property>
</bean>
<bean id="methodeSecurityInterceptor" class="org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor">
<property name="validateConfigAttributes"><value>false</value></property>
<property name="authenticationManager">
<ref bean="authenticationManager"/>
</property>
<property name="accessDecisionManager">
<ref bean="serviceAccessDecisionManager"/>
</property>
<property name="objectDefinitionSource">
<ref bean="objectDefinitionSource"/>
</property>
</bean>
<bean id="serviceAccessDecisionManager" class="org.acegisecurity.vote.AffirmativeBased">
<property name="allowIfAllAbstainDecisions">
<value>false</value>
</property>
<property name="decisionVoters">
<list>
<ref bean="roleVoter"/><
</list>
</property>
</bean>
<bean id="serviceFacade" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="interceptorNames">
<list>
<idref bean="methodeSecurityInterceptor"/>
<idref bean="serviceFacadeTarget"/><!-- ????on peut y mettre plus 1 ? -->
</list>
</property>
</bean>
<bean id="roleVoter" class="org.acegisecurity.vote.RoleVoter" />
<bean id="serviceFacadeTarget" class="????"/>
<!-- ========================= beans nécessaire aux filtres ========================= --> |
Partager