summaryrefslogtreecommitdiffstats
path: root/tests/auth-socache.conf
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2018-07-17 10:04:07 +0200
committerJan Pazdziora <jpazdziora@redhat.com>2018-07-17 19:24:53 +0200
commit9236628dbac1c2d99d752731e8391fa1307f2b0c (patch)
tree646d6041f3a89360d07ad584b138a5f1055464df /tests/auth-socache.conf
parent679b087142484c113c1de863a7fb956354dc43a2 (diff)
downloadmod_authnz_pam-9236628dbac1c2d99d752731e8391fa1307f2b0c.tar.gz
mod_authnz_pam-9236628dbac1c2d99d752731e8391fa1307f2b0c.tar.xz
mod_authnz_pam-9236628dbac1c2d99d752731e8391fa1307f2b0c.zip
On Apache 2.4, test AuthBasicProvider socache PAM + AuthnCacheProvideFor PAM.
Diffstat (limited to 'tests/auth-socache.conf')
-rw-r--r--tests/auth-socache.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auth-socache.conf b/tests/auth-socache.conf
new file mode 100644
index 0000000..9d35f2c
--- /dev/null
+++ b/tests/auth-socache.conf
@@ -0,0 +1,9 @@
+
+LoadModule authn_socache_module modules/mod_authn_socache.so
+
+ScriptAlias /authn-cached /var/www/cgi-bin/auth.cgi
+<Location /authn-cached>
+ AuthBasicProvider socache PAM
+ AuthnCacheProvideFor PAM
+ AuthnCacheTimeout 10
+</Location>