Fix for new login procedure
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 21 May 2009 17:29:41 +0000 (17:29 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 21 May 2009 17:29:41 +0000 (17:29 +0000)
ccoop-update
debian/changelog

index 8b74b76a050458394eb2354244a1e6aa294723a2..ffb7960d0f416aac893df657a2e9b4e6462b3e8b 100755 (executable)
@@ -137,13 +137,13 @@ function fetchall() {
     fi
     
     inform "WGET login form"
-    fetch https://www.coopanet.com/banque/cpt/
+    fetch https://www.coopanet.com/banque/sso/ssologin.do
     
-    inform "WGET bql/connexion.do"
-    fetch "--post-data=site=C&codeUtil=$COOPLOGIN&motPasse=$COOPPASSWORD&pbValider=Valider" https://www.coopanet.com/banque/cpt/bql/connexion.do
+    inform "WGET /banque/sso/co/connexion.do"
+    fetch "--post-data=site=C&codeUtil=$COOPLOGIN&motPasse=$COOPPASSWORD&pbValider=Valider" https://www.coopanet.com/banque/sso/co/connexion.do
     
-    inform "WGET cpt/connexion.do"
-    fetch https://www.coopanet.com/banque/cpt/cpt/connexion.do
+    inform "WGET banque/cpt/incoopanetj2ee.do"
+    fetch https://www.coopanet.com/banque/cpt/incoopanetj2ee.do
  
     if grep -q "Vous venez de quitter  COOP@NET" $TMP; then
         echo "Can't log in. Check password" >&2
@@ -177,8 +177,8 @@ function fetchall() {
     done
     
     # logout
-    inform "WGET reconnect.do"
-    fetch https://www.coopanet.com/banque/cpt/communs/reconnect.do
+    inform "WGET /banque/sso/ssologout.do"
+    fetch https://www.coopanet.com/banque/sso/ssologout.do
     
     # delete tmp files
     rm -f $COOKIEJAR $TMP
index 100e453369036ed4d4971229f40dd2b7fd484e68..6391024ee6521870912a5459e0cb705a7ec7bff4 100644 (file)
@@ -1,3 +1,9 @@
+ccoop (0.3) UNRELEASED; urgency=low
+
+  * Fix for new login/logout procedure
+
+ -- Jean-Michel Vourgère <jmv_deb@nirgal.com>  Thu, 21 May 2009 19:28:47 +0200
+
 ccoop (0.2) UNRELEASED; urgency=low
 
   * Fix for new account list layout in october 2008