webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp
branchRCL_3
changeset 21 6f5ef5fc65b4
parent 15 32ab7ae9ec94
child 22 c5fabff9b552
--- a/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp	Thu Jul 15 19:53:58 2010 +0300
+++ b/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp	Thu Aug 19 10:59:30 2010 +0300
@@ -1274,6 +1274,7 @@
         iSessionAuthentication = iManager.IdentityProviderL(aURI.UriDes());
         if(!iSessionAuthentication)
             {
+            TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"--- create and register new IDP"); 
             // create and register new IDP
             iSessionAuthentication = CSenIdentityProvider::NewL(aURI.UriDes(),
                                                                 KNullDesC8);
@@ -1287,13 +1288,15 @@
                 TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"GetCredentialsL() returning EFalse");
                 return EFalse; // decision: we could not save info into database, abort
                 }
-            TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"New IDP registeration OK. Proceeding.");
+            TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"--- New IDP registeration OK. Proceeding.");
             }
         // we have credentials
+       TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"--- we have credentials");         
         TRAPD(err, aUsername = 
             aRealm.Pool().OpenStringL(iSessionAuthentication->AuthzID()));
         TRAP(err, aPassword = 
             aRealm.Pool().OpenStringL(iSessionAuthentication->Password()));
+		TLSLOG_FORMAT((KSenHttpChannelLogChannelBase , KMinLogLevel, _L8("--- username (%s), password (%d)"), aUsername, aPassword));
         TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"GetCredentialsL() returning ETrue");
         return ETrue;
         }
@@ -1307,7 +1310,7 @@
         TPckgBuf<TSenAuthentication> authInfo;
         iManager.AuthenticationForL(*iSessionAuthentication, authInfo);
         iPasswordFromUser = ETrue;
-
+        TLSLOG_L(KSenHttpChannelLogChannelBase , KMinLogLevel,"--- AuthenticationForL Called");
         TRAPD(err, aUsername = 
                 aRealm.Pool().OpenStringL(authInfo().iUsername));
         TRAP(err, aPassword =