Turn on SQL cache by default.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 15 Jul 2003 17:15:06 +0000 (17:15 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 15 Jul 2003 17:15:06 +0000 (17:15 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@641 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/shibboleth.ini

index d97aa88..240eaf2 100644 (file)
@@ -9,9 +9,11 @@ sharsocket=/tmp/shar-socket
 #normalizeRequest = true
 #checkIPAddress = false
 #contentSSLOnly = false
+#exportAssertion = false
+# These timeouts apply to session validity at the target for IIS
+# Apache session control is per-directory with Apache commands
 #authLifetime = 7200
 #authTimeout = 3600
-#exportAssertion = false
 
 supportContact=admin@your.site
 logoLocation=/logo.gif
@@ -45,12 +47,27 @@ calist=/opt/shibboleth/etc/shibboleth/ca-bundle.crt
 AATimeout=60
 AAConnectTimeout=30
 
-# The following shar items are for caching parameters
-cacheType=memory
-# how often to run the cache cleanup (in seconds)
+# The following shar items are session caching parameters
+# The default cache now uses a MySQL embedded database
+#cacheType=memory
+cacheType=mysql
+# how often to run the cache cleanup thread (in seconds)
 cacheClean=300
-# idle timeout (in seconds)
-cacheTimeout=14400
+# These timeouts apply to session caching, irrespesctive of validity
+# Sessions can be deleted before they expire, so these should usually
+# be at least as long as session policy itself.
+cacheTimeout=3600
+mysql-cache-timeout = 14400
+
+# Only needed if the MySQL cache plugin is used.
+[extensions:saml]
+mysql = /opt/shibboleth/libexec/shib-mysql-ccache.so
+
+# Arguments for the MySQL embedded database
+# Make sure the datadir exists.
+[mysql]
+arg1 = --language=/opt/shibboleth/share/english
+arg2 = --datadir=/opt/shibboleth/data
 
 [metadata_shire]
 edu.internet2.middleware.shibboleth.metadata.XML=/opt/shibboleth/etc/shibboleth/sites.xml