浏览代码

Update MethodSecurityInterceptor location.

Ben Alex 21 年之前
父节点
当前提交
8a944d3b64
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      samples/attributes/src/applicationContext.xml

+ 3 - 3
samples/attributes/src/applicationContext.xml

@@ -60,17 +60,17 @@
 	<!-- ===================== SECURITY DEFINITIONS ======================= -->
 	
 	<bean id="attributes" class="org.springframework.metadata.commons.CommonsAttributes"/>
-	<bean id="methodDefinitionSource" class="net.sf.acegisecurity.MethodDefinitionAttributes">
+	<bean id="objectDefinitionSource" class="net.sf.acegisecurity.intercept.method.MethodDefinitionAttributes">
 		<property name="attributes"><ref local="attributes"/></property>
 	</bean>
 
 	<!-- We don't validate config attributes, as it's unsupported by MethodDefinitionAttributes -->
-	<bean id="securityInterceptor" class="net.sf.acegisecurity.SecurityInterceptor">
+	<bean id="securityInterceptor" class="net.sf.acegisecurity.intercept.method.MethodSecurityInterceptor">
     	<property name="validateConfigAttributes"><value>false</value></property>
     	<property name="authenticationManager"><ref bean="authenticationManager"/></property>
     	<property name="accessDecisionManager"><ref bean="accessDecisionManager"/></property>
     	<property name="runAsManager"><ref bean="runAsManager"/></property>
- 		<property name="methodDefinitionSource"><ref bean="methodDefinitionSource"/></property>
+ 		<property name="objectDefinitionSource"><ref bean="objectDefinitionSource"/></property>
 	</bean>
 	
 	<bean id="bankService" class="sample.attributes.BankServiceImpl"/>