Replace MySQL cache elements with ODBC.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 3 Feb 2006 05:04:41 +0000 (05:04 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 3 Feb 2006 05:04:41 +0000 (05:04 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1979 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/shibboleth.xml.in

index ee08cb8..fca24a7 100644 (file)
                <MemorySessionCache cleanupInterval="300" cacheTimeout="3600" AATimeout="30" AAConnectTimeout="15"
                        defaultLifetime="1800" retryInterval="300" strictValidity="false" propagateErrors="false"/>
                <!--
-               <MySQLSessionCache cleanupInterval="300" cacheTimeout="3600" AATimeout="30" AAConnectTimeout="15"
+               <ODBCSessionCache cleanupInterval="300" cacheTimeout="3600" AATimeout="30" AAConnectTimeout="15"
                        defaultLifetime="1800" retryInterval="300" strictValidity="false" propagateErrors="false"
-                       mysqlTimeout="14400" storeAttributes="true" writeThrough="false">
-                       <Argument>&#x2D;&#x2D;language=@-PREFIX-@/share/english</Argument>
-                       <Argument>&#x2D;&#x2D;datadir=@-PREFIX-@/data</Argument>
-               </MySQLSessionCache>
+                       odbcTimeout="7200" storeAttributes="true" writeThrough="true">
+                       <ConnectionString>
+                       DRIVER=drivername;SERVER=dbserver;UID=shibboleth;PWD=password;DATABASE=shibboleth;APP=Shibboleth
+                       </ConnectionString>
+               </ODBCSessionCache>
                -->
         
                <!-- Default replay cache is in-memory. -->
                <!--
-               <MySQLReplayCache>
-                       <Argument>&#x2D;&#x2D;language=@-PREFIX-@/share/english</Argument>
-                       <Argument>&#x2D;&#x2D;datadir=@-PREFIX-@/data</Argument>
-               </MySQLReplayCache>
+               <ODBCReplayCache/>
                -->
        </OutOfProcess>