فهرست منبع

Removed user cache from tutorial app context, as it's session -based.

Luke Taylor 18 سال پیش
والد
کامیت
5d64b86875
1فایلهای تغییر یافته به همراه1 افزوده شده و 13 حذف شده
  1. 1 13
      samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml

+ 1 - 13
samples/tutorial/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml

@@ -47,7 +47,7 @@
 		<property name="filterProcessesUrl" value="/j_acegi_security_check"/>
 		<property name="rememberMeServices" ref="rememberMeServices"/>
 	</bean>
-   
+
 	<bean id="securityContextHolderAwareRequestFilter" class="org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter"/>
 
 	<bean id="rememberMeProcessingFilter" class="org.acegisecurity.ui.rememberme.RememberMeProcessingFilter">
@@ -119,18 +119,6 @@
 
 	<bean id="daoAuthenticationProvider" class="org.acegisecurity.providers.dao.DaoAuthenticationProvider">
 		<property name="userDetailsService" ref="userDetailsService"/>
-		<property name="userCache">
-			<bean class="org.acegisecurity.providers.dao.cache.EhCacheBasedUserCache">
-				<property name="cache">
-					<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-						<property name="cacheManager">
-							<bean class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/>
-						</property>
-						<property name="cacheName" value="userCache"/>
-					</bean>
-				</property>
-			</bean>
-		</property>
 	</bean>
 
 	<!-- UserDetailsService is the most commonly frequently Acegi Security interface implemented by end users -->