summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/simpleauthenticationrequest.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-25 22:00:10 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-26 01:30:21 +0200
commit8c4e7806b2e8486108a817ded456433fc77f60a5 (patch)
tree896095f4c536ec49e2349c7efee7d4d5ea354f60 /ucbhelper/source/provider/simpleauthenticationrequest.cxx
parent805aa2151e476a5e8e60806c7321ba7288f91813 (diff)
unusedcode: ucbhelper:: cleaning
Diffstat (limited to 'ucbhelper/source/provider/simpleauthenticationrequest.cxx')
-rw-r--r--ucbhelper/source/provider/simpleauthenticationrequest.cxx81
1 files changed, 0 insertions, 81 deletions
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
index c4ac91cb5789..86f1a5334ab3 100644
--- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx
+++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
@@ -42,42 +42,6 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
const rtl::OUString & rRealm,
const rtl::OUString & rUserName,
const rtl::OUString & rPassword,
- const rtl::OUString & rAccount )
-{
- // Fill request...
- ucb::URLAuthenticationRequest aRequest;
-// aRequest.Message = // OUString
-// aRequest.Context = // XInterface
- aRequest.Classification = task::InteractionClassification_ERROR;
- aRequest.ServerName = rServerName;
-// aRequest.Diagnostic = // OUString
- aRequest.HasRealm = ( rRealm.getLength() > 0 );
- if ( aRequest.HasRealm )
- aRequest.Realm = rRealm;
- aRequest.HasUserName = sal_True;
- aRequest.UserName = rUserName;
- aRequest.HasPassword = sal_True;
- aRequest.Password = rPassword;
- aRequest.HasAccount = ( rAccount.getLength() > 0 );
- if ( aRequest.HasAccount )
- aRequest.Account = rAccount;
- aRequest.URL = rURL;
-
- initialize(aRequest,
- sal_False,
- sal_True,
- sal_True,
- aRequest.HasAccount,
- sal_True,
- sal_False );
-}
-//=========================================================================
-SimpleAuthenticationRequest::SimpleAuthenticationRequest(
- const rtl::OUString & rURL,
- const rtl::OUString & rServerName,
- const rtl::OUString & rRealm,
- const rtl::OUString & rUserName,
- const rtl::OUString & rPassword,
const rtl::OUString & rAccount,
sal_Bool bAllowPersistentStoring,
sal_Bool bAllowUseSystemCredentials )
@@ -155,51 +119,6 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
}
//=========================================================================
-SimpleAuthenticationRequest::SimpleAuthenticationRequest(
- const rtl::OUString & rURL,
- const rtl::OUString & rServerName,
- EntityType eRealmType,
- const rtl::OUString & rRealm,
- EntityType eUserNameType,
- const rtl::OUString & rUserName,
- EntityType ePasswordType,
- const rtl::OUString & rPassword,
- EntityType eAccountType,
- const rtl::OUString & rAccount,
- sal_Bool bAllowPersistentStoring,
- sal_Bool bAllowUseSystemCredentials )
-{
- // Fill request...
- ucb::URLAuthenticationRequest aRequest;
-// aRequest.Message = // OUString
-// aRequest.Context = // XInterface
- aRequest.Classification = task::InteractionClassification_ERROR;
- aRequest.ServerName = rServerName;
-// aRequest.Diagnostic = // OUString
- aRequest.HasRealm = eRealmType != ENTITY_NA;
- if ( aRequest.HasRealm )
- aRequest.Realm = rRealm;
- aRequest.HasUserName = eUserNameType != ENTITY_NA;
- if ( aRequest.HasUserName )
- aRequest.UserName = rUserName;
- aRequest.HasPassword = ePasswordType != ENTITY_NA;
- if ( aRequest.HasPassword )
- aRequest.Password = rPassword;
- aRequest.HasAccount = eAccountType != ENTITY_NA;
- if ( aRequest.HasAccount )
- aRequest.Account = rAccount;
- aRequest.URL = rURL;
-
- initialize(aRequest,
- eRealmType == ENTITY_MODIFY,
- eUserNameType == ENTITY_MODIFY,
- ePasswordType == ENTITY_MODIFY,
- eAccountType == ENTITY_MODIFY,
- bAllowPersistentStoring,
- bAllowUseSystemCredentials );
-}
-
-//=========================================================================
void SimpleAuthenticationRequest::initialize(
const ucb::URLAuthenticationRequest & rRequest,
sal_Bool bCanSetRealm,