equal
deleted
inserted
replaced
98 // Destructor |
98 // Destructor |
99 //--------------------------------------------------------------------------- |
99 //--------------------------------------------------------------------------- |
100 // |
100 // |
101 CWSOviOAuthClient::~CWSOviOAuthClient() |
101 CWSOviOAuthClient::~CWSOviOAuthClient() |
102 { |
102 { |
103 TLSLOG_L(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,"CWSOviOAuthClient::~CWSOviTrustClient"); |
103 TLSLOG_L(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,"CWSOviOAuthClient::~CWSOviOAuthClient"); |
104 delete iAuthSession; |
104 delete iAuthSession; |
105 delete iBody; |
105 delete iBody; |
106 } |
106 } |
107 |
107 |
108 |
108 |
717 return retVal; |
717 return retVal; |
718 } |
718 } |
719 |
719 |
720 void CWSOviOAuthClient::CreateBodyL(const TDesC8& aXmlNs, const TDesC8& aUsername, const TDesC8& aPassword, const TDesC8& aCreated) |
720 void CWSOviOAuthClient::CreateBodyL(const TDesC8& aXmlNs, const TDesC8& aUsername, const TDesC8& aPassword, const TDesC8& aCreated) |
721 { |
721 { |
|
722 if(aPassword == KNullDesC8()) |
|
723 { |
|
724 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviOAuthClient::CreateBodyL() - aPassword == KNullDesC8"))); |
|
725 } |
722 delete iBody; |
726 delete iBody; |
723 iBody = NULL; |
727 iBody = NULL; |
724 HBufC8* nonce = SenCryptoUtils::GetRandomNonceL(); |
728 HBufC8* nonce = SenCryptoUtils::GetRandomNonceL(); |
725 CleanupStack::PushL(nonce); |
729 CleanupStack::PushL(nonce); |
726 HBufC8* passDec = SenXmlUtils::DecodeHttpCharactersLC( aPassword ); |
730 HBufC8* passDec = SenXmlUtils::DecodeHttpCharactersLC( aPassword ); |