diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-05-27 13:53:12 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-05-27 13:53:12 +0200 |
commit | 65007b34e4b936be783a6a697ecab726a7f6ebdf (patch) | |
tree | c2187baecf74843f83d40ead990fefca49a70847 /ucbhelper | |
parent | CWS-TOOLING: integrate CWS gridcontrol_03 (diff) | |
parent | #i110213# - setup master password container on demand. (diff) | |
download | core-65007b34e4b936be783a6a697ecab726a7f6ebdf.tar.gz core-65007b34e4b936be783a6a697ecab726a7f6ebdf.zip |
CWS-TOOLING: integrate CWS kso44
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/simpleauthenticationrequest.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx index f292fdf5fc06..8fc0cd4aec4f 100644 --- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx +++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx @@ -67,7 +67,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest( sal_True, sal_True, aRequest.HasAccount, - sal_False, + sal_True, sal_False ); } //========================================================================= @@ -149,7 +149,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest( eUserNameType == ENTITY_MODIFY, ePasswordType == ENTITY_MODIFY, eAccountType == ENTITY_MODIFY, - sal_False, + sal_True, sal_False ); } @@ -211,11 +211,12 @@ void SimpleAuthenticationRequest::initialize( setRequest( uno::makeAny( rRequest ) ); // Fill continuations... - uno::Sequence< ucb::RememberAuthentication > aRememberModes( bAllowPersistentStoring ? 3 : 2 ); + uno::Sequence< ucb::RememberAuthentication > aRememberModes( + bAllowPersistentStoring ? 3 : 2 ); aRememberModes[ 0 ] = ucb::RememberAuthentication_NO; aRememberModes[ 1 ] = ucb::RememberAuthentication_SESSION; if (bAllowPersistentStoring) - aRememberModes[ 1 ] = ucb::RememberAuthentication_PERSISTENT; + aRememberModes[ 2 ] = ucb::RememberAuthentication_PERSISTENT; m_xAuthSupplier = new InteractionSupplyAuthentication( |