From 18b3a48e842d1e13b5a8505f8fd18069836d8fa5 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 26 Aug 2013 03:04:28 +0000 Subject: Fix handling of login session expiration and incorrect caching of login redirect responses. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517413 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/form-auth-conf | 12 +++++- sca-cpp/trunk/modules/http/htdocs/login/index.html | 2 +- .../trunk/modules/http/htdocs/logout/index.html | 2 +- sca-cpp/trunk/modules/http/http.hpp | 1 + sca-cpp/trunk/modules/http/httpd-conf | 10 ++--- sca-cpp/trunk/modules/http/httpd.hpp | 8 ++-- sca-cpp/trunk/modules/http/mod-openauth.cpp | 15 ++++++-- sca-cpp/trunk/modules/http/open-auth-conf | 10 ++++- sca-cpp/trunk/modules/http/openauth.hpp | 26 +++++++++++-- .../trunk/modules/oauth/htdocs/login/index.html | 14 +++---- .../trunk/modules/oauth/htdocs/login/mixed.html | 18 ++++----- .../trunk/modules/oauth/htdocs/logout/index.html | 12 +++--- sca-cpp/trunk/modules/oauth/mod-oauth1.cpp | 22 +++++++---- sca-cpp/trunk/modules/oauth/mod-oauth2.cpp | 22 +++++++---- .../trunk/modules/openid/htdocs/login/index.html | 12 +++--- .../trunk/modules/openid/htdocs/logout/index.html | 12 +++--- sca-cpp/trunk/modules/server/mod-eval.hpp | 45 ++++++++++++++-------- .../domains/jane/htdocs/login/index.html | 6 +-- .../domains/jane/htdocs/logout/index.html | 2 +- .../domains/joe/htdocs/login/index.html | 6 +-- .../domains/joe/htdocs/logout/index.html | 2 +- .../samples/store-cluster/htdocs/login/index.html | 6 +-- .../samples/store-cluster/htdocs/logout/index.html | 2 +- .../samples/store-python/htdocs/login/index.html | 2 +- .../samples/store-python/htdocs/logout/index.html | 2 +- 25 files changed, 167 insertions(+), 104 deletions(-) diff --git a/sca-cpp/trunk/modules/http/form-auth-conf b/sca-cpp/trunk/modules/http/form-auth-conf index ba2f99dbf1..6a68da3972 100755 --- a/sca-cpp/trunk/modules/http/form-auth-conf +++ b/sca-cpp/trunk/modules/http/form-auth-conf @@ -44,6 +44,14 @@ else sslsuffix="-ssl" fi +# Configure session crypto +cat >>$root/conf/httpd.conf <$root/conf/noauth$sslsuffix.conf < diff --git a/sca-cpp/trunk/modules/http/htdocs/login/index.html b/sca-cpp/trunk/modules/http/htdocs/login/index.html index fd3bc21889..636a385f5c 100644 --- a/sca-cpp/trunk/modules/http/htdocs/login/index.html +++ b/sca-cpp/trunk/modules/http/htdocs/login/index.html @@ -32,7 +32,7 @@