tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1041680 - in /tuscany/sca-cpp/trunk: modules/http/htdocs/login/ modules/oauth/htdocs/login/ modules/openid/htdocs/login/ samples/store-cluster/htdocs/domains/jane/login/ samples/store-cluster/htdocs/domains/joe/login/ samples/store-cluster...
Date Fri, 03 Dec 2010 03:59:12 GMT
Author: jsdelfino
Date: Fri Dec  3 03:59:11 2010
New Revision: 1041680

URL: http://svn.apache.org/viewvc?rev=1041680&view=rev
Log:
Reset auth cookie before re-auth in login page.

Modified:
    tuscany/sca-cpp/trunk/modules/http/htdocs/login/index.html
    tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/index.html
    tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html
    tuscany/sca-cpp/trunk/modules/openid/htdocs/login/index.html
    tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html
    tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html
    tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html
    tuscany/sca-cpp/trunk/samples/store-python/htdocs/login/index.html

Modified: tuscany/sca-cpp/trunk/modules/http/htdocs/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/http/htdocs/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/http/htdocs/login/index.html (original)
+++ tuscany/sca-cpp/trunk/modules/http/htdocs/login/index.html Fri Dec  3 03:59:11 2010
@@ -21,6 +21,7 @@
 
 <script type="text/javascript">
 function submitFormSignin() {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.formSignin.httpd_location.value = '/';
     document.formSignin.submit();
 }

Modified: tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/index.html (original)
+++ tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/index.html Fri Dec  3 03:59:11 2010
@@ -47,6 +47,7 @@ if (typeof(oauthReferrer()) == 'undefine
 
 function submitSignin2(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.signin2.mod_oauth2_authorize.value = parms[0];
     document.signin2.mod_oauth2_access_token.value = parms[1];
     document.signin2.mod_oauth2_client_id.value = parms[2];
@@ -67,6 +68,7 @@ function withGithub() {
 
 function submitSignin1(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.signin1.mod_oauth1_request_token.value = parms[0];
     document.signin1.mod_oauth1_authorize.value = parms[1];
     document.signin1.mod_oauth1_access_token.value = parms[2];

Modified: tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html (original)
+++ tuscany/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html Fri Dec  3 03:59:11 2010
@@ -21,6 +21,7 @@
 
 <script type="text/javascript">
 function submitFormSignin() {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.formSignin.httpd_location.value = '/';
     document.formSignin.submit();
 }
@@ -51,6 +52,7 @@ if (typeof(openauthReferrer()) == 'undef
 }
 
 function submitOpenIDSignin(w) {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.openIDSignin.openid_identifier.value = w();
     document.openIDSignin.action = openauthReferrer();
     document.openIDSignin.submit();
@@ -98,6 +100,7 @@ function withXRDSEndpoint() {
 
 function submitOAuth2Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth2Signin.mod_oauth2_authorize.value = parms[0];
     document.oauth2Signin.mod_oauth2_access_token.value = parms[1];
     document.oauth2Signin.mod_oauth2_client_id.value = parms[2];
@@ -118,6 +121,7 @@ function withGithub() {
 
 function submitOAuth1Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth1Signin.mod_oauth1_request_token.value = parms[0];
     document.oauth1Signin.mod_oauth1_authorize.value = parms[1];
     document.oauth1Signin.mod_oauth1_access_token.value = parms[2];

Modified: tuscany/sca-cpp/trunk/modules/openid/htdocs/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/openid/htdocs/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/openid/htdocs/login/index.html (original)
+++ tuscany/sca-cpp/trunk/modules/openid/htdocs/login/index.html Fri Dec  3 03:59:11 2010
@@ -46,6 +46,7 @@ if (typeof(openidReferrer()) == 'undefin
 }
 
 function submitSignin(w) {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.signin.openid_identifier.value = w();
     document.signin.action = openidReferrer();
     document.signin.submit();

Modified: tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html (original)
+++ tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html Fri Dec
 3 03:59:11 2010
@@ -46,6 +46,7 @@ if (typeof(openauthReferrer()) == 'undef
 }
 
 function submitOpenIDSignin(w) {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.openIDSignin.openid_identifier.value = w();
     document.openIDSignin.action = openauthReferrer();
     document.openIDSignin.submit();
@@ -93,6 +94,7 @@ function withXRDSEndpoint() {
 
 function submitOAuth2Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth2Signin.mod_oauth2_authorize.value = parms[0];
     document.oauth2Signin.mod_oauth2_access_token.value = parms[1];
     document.oauth2Signin.mod_oauth2_client_id.value = parms[2];
@@ -113,6 +115,7 @@ function withGithub() {
 
 function submitOAuth1Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth1Signin.mod_oauth1_request_token.value = parms[0];
     document.oauth1Signin.mod_oauth1_authorize.value = parms[1];
     document.oauth1Signin.mod_oauth1_access_token.value = parms[2];

Modified: tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html (original)
+++ tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html Fri Dec
 3 03:59:11 2010
@@ -46,6 +46,7 @@ if (typeof(openauthReferrer()) == 'undef
 }
 
 function submitOpenIDSignin(w) {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.openIDSignin.openid_identifier.value = w();
     document.openIDSignin.action = openauthReferrer();
     document.openIDSignin.submit();
@@ -93,6 +94,7 @@ function withXRDSEndpoint() {
 
 function submitOAuth2Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth2Signin.mod_oauth2_authorize.value = parms[0];
     document.oauth2Signin.mod_oauth2_access_token.value = parms[1];
     document.oauth2Signin.mod_oauth2_client_id.value = parms[2];
@@ -113,6 +115,7 @@ function withGithub() {
 
 function submitOAuth1Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth1Signin.mod_oauth1_request_token.value = parms[0];
     document.oauth1Signin.mod_oauth1_authorize.value = parms[1];
     document.oauth1Signin.mod_oauth1_access_token.value = parms[2];

Modified: tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html (original)
+++ tuscany/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html Fri Dec  3 03:59:11
2010
@@ -46,6 +46,7 @@ if (typeof(openauthReferrer()) == 'undef
 }
 
 function submitOpenIDSignin(w) {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.openIDSignin.openid_identifier.value = w();
     document.openIDSignin.action = openauthReferrer();
     document.openIDSignin.submit();
@@ -93,6 +94,7 @@ function withXRDSEndpoint() {
 
 function submitOAuth2Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth2Signin.mod_oauth2_authorize.value = parms[0];
     document.oauth2Signin.mod_oauth2_access_token.value = parms[1];
     document.oauth2Signin.mod_oauth2_client_id.value = parms[2];
@@ -113,6 +115,7 @@ function withGithub() {
 
 function submitOAuth1Signin(w) {
     parms = w();
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.oauth1Signin.mod_oauth1_request_token.value = parms[0];
     document.oauth1Signin.mod_oauth1_authorize.value = parms[1];
     document.oauth1Signin.mod_oauth1_access_token.value = parms[2];

Modified: tuscany/sca-cpp/trunk/samples/store-python/htdocs/login/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-python/htdocs/login/index.html?rev=1041680&r1=1041679&r2=1041680&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-python/htdocs/login/index.html (original)
+++ tuscany/sca-cpp/trunk/samples/store-python/htdocs/login/index.html Fri Dec  3 03:59:11
2010
@@ -21,6 +21,7 @@
 
 <script type="text/javascript">
 function submitFormSignin() {
+    document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() +
';path=/;secure=TRUE';
     document.formSignin.httpd_location.value = '/';
     document.formSignin.submit();
 }



Mime
View raw message