Revision: 201003 RCL_3 PDK_3.0.h
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:55:35 +0200
branchRCL_3
changeset 7 7bc6ab9b5bcd
parent 3 b5a195438f6a
child 10 8bdeb2d50f7b
child 11 6abf3d6055cd
Revision: 201003 Kit: 201007
webservices/wsidentitymanager/inc/senbaseidentitymanager.h
webservices/wsoviplugin/inc/wsovicons.h
webservices/wsoviplugin/src/wsoviserviceupdatehandler.cpp
webservices/wsstar/wsstarmessagehandlers/src/wsstaraddressinghandler.cpp
--- a/webservices/wsidentitymanager/inc/senbaseidentitymanager.h	Tue Feb 02 00:57:16 2010 +0200
+++ b/webservices/wsidentitymanager/inc/senbaseidentitymanager.h	Fri Feb 19 23:55:35 2010 +0200
@@ -306,7 +306,7 @@
         */
         virtual TInt WriteConfigurationToL( const TDesC& aFile );
         TBool AllowSavePasswordL();
-        /** Improved heuristics from Identity DB removal / cleanups : Naga
+        /** Improved heuristics from Identity DB removal / cleanups
 	    *
 	    * Checks touch attribute value for all IdentityProvider child elements of 
 	    * current Identity element if that exceeds the the tick counts for two weeks 
--- a/webservices/wsoviplugin/inc/wsovicons.h	Tue Feb 02 00:57:16 2010 +0200
+++ b/webservices/wsoviplugin/inc/wsovicons.h	Fri Feb 19 23:55:35 2010 +0200
@@ -200,7 +200,9 @@
 
     _LIT8(KUserInfoLocalName,"userInfo");
     _LIT8(KUserNameLocalName,"username");
-	
+	_LIT8( KMobileUsed1,             "Mobile number" );
+    _LIT8( KMobileUsed2,             "already used today" );
+	_LIT8(KEmailUsed, "You have already a Nokia account associated with this mobile number or email address.");
 	}
 
 #endif // CONSPLUGIN_H
--- a/webservices/wsoviplugin/src/wsoviserviceupdatehandler.cpp	Tue Feb 02 00:57:16 2010 +0200
+++ b/webservices/wsoviplugin/src/wsoviserviceupdatehandler.cpp	Fri Feb 19 23:55:35 2010 +0200
@@ -139,7 +139,18 @@
 						{
 						pCtx.Add(WSOviContextKeys::KServiceSession, *(MSenRemoteServiceSession*)remoteServiceSession);
 						}
-					pCtx.Update(WSOviContextKeys::KReAuthNeeded, ETrue);
+					if( ! errFragment->Text().Compare(WSOviResponse::KEmailUsed()) ||
+					       (errFragment->Text().Compare(WSOviResponse::KMobileUsed1)!= KErrNotFound &&
+					        errFragment->Text().Compare(WSOviResponse::KMobileUsed2) != KErrNotFound )
+					    )
+					    {
+					    pCtx.Update(WSOviContextKeys::KRetryNeeded, EFalse);
+					    }
+					else
+					    {
+					    pCtx.Update(WSOviContextKeys::KReAuthNeeded, ETrue);
+					    }
+					
 					oviServiceSession->ClearCredentialL();
 					oviServiceSession->SetStatusL();//in order to compute state
 				}
--- a/webservices/wsstar/wsstarmessagehandlers/src/wsstaraddressinghandler.cpp	Tue Feb 02 00:57:16 2010 +0200
+++ b/webservices/wsstar/wsstarmessagehandlers/src/wsstaraddressinghandler.cpp	Fri Feb 19 23:55:35 2010 +0200
@@ -225,7 +225,7 @@
     CSenElement* ppElem = CWSStarMessageUtils::FindElementL(Kpp, header);
     if(ppElem)
         {
-        CSenElement* credPropertiesElem = CWSStarMessageUtils::FindElementL(KCredProperties, *ppElem);//Naga
+        CSenElement* credPropertiesElem = CWSStarMessageUtils::FindElementL(KCredProperties, *ppElem);
         if(credPropertiesElem)
             {
             CWSStarMessageUtils::FindElementL(KCredProperty, *credPropertiesElem, credPropertiesElements);