equal
deleted
inserted
replaced
591 } |
591 } |
592 |
592 |
593 //Default accesspoint will be used - iAPID = -1 |
593 //Default accesspoint will be used - iAPID = -1 |
594 iGbaInputParams.iAPID = -1; |
594 iGbaInputParams.iAPID = -1; |
595 |
595 |
596 //Cancel the transaction |
|
597 aTrans.Cancel(); |
|
598 |
|
599 // fetch credentials from bootstrapper |
596 // fetch credentials from bootstrapper |
600 iGbaUtility->Bootstrap(iGbaInputParams, iGbaOutputParams); |
597 iGbaUtility->Bootstrap(iGbaInputParams, iGbaOutputParams); |
601 iBootstrapCount++; |
598 iBootstrapCount++; |
602 iBootstrapPending = ETrue; |
599 iBootstrapPending = ETrue; |
603 if(!iBootstrapWait.IsStarted()) |
600 if(!iBootstrapWait.IsStarted()) |
622 CleanupClosePushL<RString>( password ); |
619 CleanupClosePushL<RString>( password ); |
623 propSet.SetPropertyL( iUsernameStr, username ); |
620 propSet.SetPropertyL( iUsernameStr, username ); |
624 propSet.SetPropertyL( iPasswordStr, password ); |
621 propSet.SetPropertyL( iPasswordStr, password ); |
625 CleanupStack::PopAndDestroy(&password); |
622 CleanupStack::PopAndDestroy(&password); |
626 CleanupStack::PopAndDestroy(&username); |
623 CleanupStack::PopAndDestroy(&username); |
|
624 //Cancel the http transaction |
|
625 aTrans.Cancel(); |
627 // Re-submit the http request with much needed credentials |
626 // Re-submit the http request with much needed credentials |
628 aTrans.SubmitL(); |
627 aTrans.SubmitL(); |
629 } |
628 } |
630 else |
629 else |
631 { |
630 { |