equal
deleted
inserted
replaced
1226 aMessage.Complete(ESenReAuthNeeded); |
1226 aMessage.Complete(ESenReAuthNeeded); |
1227 CSLOG_FORMAT((iConnectionID, KMinLogLevel , _L8("Completed with ESenReAuthNeeded iAuthenticationRetries = [%d]"), iAuthenticationRetries)); |
1227 CSLOG_FORMAT((iConnectionID, KMinLogLevel , _L8("Completed with ESenReAuthNeeded iAuthenticationRetries = [%d]"), iAuthenticationRetries)); |
1228 } |
1228 } |
1229 else |
1229 else |
1230 { |
1230 { |
|
1231 CSLOG_L(iConnectionID,KMinLogLevel ,"Still we need to handle KErrSenAuthenticationFault"); |
1231 retVal = KErrSenSoapFault; |
1232 retVal = KErrSenSoapFault; |
1232 } |
1233 } |
1233 } |
1234 } |
1234 else |
1235 else |
1235 { |
1236 { |
1236 // Complete. Either init was ok, or some error occurred; client now knows the result |
1237 // Complete. Either init was ok, or some error occurred; client now knows the result |
1237 iAuthenticationRetries = 0; |
1238 iAuthenticationRetries = 0; |
1238 aMessage.Complete(ESenServInitialized); |
1239 aMessage.Complete(ESenServInitialized); |
1239 CSLOG_L(iConnectionID,KMinLogLevel ,"Completed with ESenServInitialized"); |
1240 CSLOG_FORMAT((iConnectionID,KMinLogLevel ,_L8("Completed with ESenServInitialized errrcode written [%d]"), retVal)); |
1240 } |
1241 } |
1241 } |
1242 } |
1242 |
1243 |
1243 TInt CSenClientSession::InitializeServiceSessionL(CSenWSDescription& aInitializer, HBufC8*& aErrorMsg) |
1244 TInt CSenClientSession::InitializeServiceSessionL(CSenWSDescription& aInitializer, HBufC8*& aErrorMsg) |
1244 { |
1245 { |
5617 |
5618 |
5618 if ( rollbackAutoMode ) //autoSignInEl has to exists, otherwise rollbackAutoMode is false |
5619 if ( rollbackAutoMode ) //autoSignInEl has to exists, otherwise rollbackAutoMode is false |
5619 { |
5620 { |
5620 autoSignInEl->SetContentL( KSenPropertyTrue ); |
5621 autoSignInEl->SetContentL( KSenPropertyTrue ); |
5621 } |
5622 } |
5622 TRAPD(retVal, |
5623 TRAP(retVal, |
5623 HBufC8* encPassword = SenXmlUtils::EncodeHttpCharactersLC(password); |
5624 HBufC8* encPassword = SenXmlUtils::EncodeHttpCharactersLC(password); |
5624 pIdps[i]->SetUserInfoL( pIdps[i]->AuthzID(), |
5625 pIdps[i]->SetUserInfoL( pIdps[i]->AuthzID(), |
5625 pIdps[i]->AdvisoryAuthnID(), |
5626 pIdps[i]->AdvisoryAuthnID(), |
5626 *encPassword ); |
5627 *encPassword ); |
5627 CleanupStack::PopAndDestroy(encPassword); |
5628 CleanupStack::PopAndDestroy(encPassword); |