summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-cpp/trunk/modules/openid/htdocs/logout/index.html2
-rwxr-xr-xsca-cpp/trunk/modules/openid/openid-conf2
-rwxr-xr-xsca-cpp/trunk/modules/openid/openid-memcached-conf2
-rw-r--r--sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html2
4 files changed, 5 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/logout/index.html b/sca-cpp/trunk/modules/openid/htdocs/logout/index.html
index 55cbfac110..5b58a1c38b 100644
--- a/sca-cpp/trunk/modules/openid/htdocs/logout/index.html
+++ b/sca-cpp/trunk/modules/openid/htdocs/logout/index.html
@@ -23,7 +23,7 @@
<form name="signout" action="/login" method="GET">
<script type="text/javascript">
function submitSignout() {
- document.cookie = 'open_id_session_id=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/';
+ document.cookie = 'TuscanyOpenIDAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.signout.submit();
return true;
}
diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf
index cc503e629d..a8314261ac 100755
--- a/sca-cpp/trunk/modules/openid/openid-conf
+++ b/sca-cpp/trunk/modules/openid/openid-conf
@@ -37,6 +37,8 @@ LoadModule authopenid_module $openid_prefix/modules/mod_auth_openid.so
AuthType OpenID
AuthOpenIDEnabled On
AuthOpenIDCookiePath /
+AuthOpenIDCookieName TuscanyOpenIDAuth
+AuthOpenIDSecureCookie On
AuthOpenIDLoginPage /login
AuthOpenIDAXAdd EMAIL http://axschema.org/contact/email
</Location>
diff --git a/sca-cpp/trunk/modules/openid/openid-memcached-conf b/sca-cpp/trunk/modules/openid/openid-memcached-conf
index 1dfbd3b502..776631dab8 100755
--- a/sca-cpp/trunk/modules/openid/openid-memcached-conf
+++ b/sca-cpp/trunk/modules/openid/openid-memcached-conf
@@ -26,7 +26,7 @@ port=$3
# Configure HTTPD mod_auth_openid module cache
cat >>$root/conf/httpd.conf <<EOF
# Generated by: openid-cache-conf $*
-AuthOpenIDMemcached $host:$port
+AddAuthOpenIDMemcached $host:$port
EOF
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html
index 55cbfac110..5b58a1c38b 100644
--- a/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html
+++ b/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html
@@ -23,7 +23,7 @@
<form name="signout" action="/login" method="GET">
<script type="text/javascript">
function submitSignout() {
- document.cookie = 'open_id_session_id=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/';
+ document.cookie = 'TuscanyOpenIDAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.signout.submit();
return true;
}