From a28c8087c3a6963bb969bbc2b59f99834c7cbe6c Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Thu, 24 Jan 2013 11:26:55 +0000
Subject: [PATCH] Fix file-ldap-crowd-authentication-service to really include
 the file authentication service.

SVN: 28185
---
 common/source/java/genericCommonContext.xml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/common/source/java/genericCommonContext.xml b/common/source/java/genericCommonContext.xml
index f862d3cf6d8..a386c0ceba3 100644
--- a/common/source/java/genericCommonContext.xml
+++ b/common/source/java/genericCommonContext.xml
@@ -125,11 +125,21 @@
         <property name="cacheTimeNoRevalidationStr" value="${authentication.cache.time-no-revalidation}" />
     </bean>
 
-    <bean id="file-ldap-crowd-caching-authentication-service" 
+    <bean id="ldap-crowd-caching-authentication-service" 
     			class = "ch.systemsx.cisd.authentication.file.CachingAuthenticationService">
         <constructor-arg ref="authentication-cache-configuration" />
     </bean>
     
+    <bean id="file-ldap-crowd-caching-authentication-service" 
+    			class = "ch.systemsx.cisd.authentication.stacked.StackedAuthenticationService">
+        <constructor-arg>
+            <list>
+                <ref bean="file-authentication-service" />
+                <ref bean="ldap-crowd-caching-authentication-service" />
+            </list>
+        </constructor-arg>
+    </bean>
+    
     <!-- Keep this for backward compatibility with old service.properties files. -->
     <alias name="ldap-crowd-authentication-service" alias="stacked-authentication-service"/>
         
-- 
GitLab