diff options
Diffstat (limited to 'ucbhelper/source/provider/simpleauthenticationrequest.cxx')
-rw-r--r-- | ucbhelper/source/provider/simpleauthenticationrequest.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx index a1e0ae4f25d8..ddc8fc9e4079 100644 --- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx +++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx @@ -60,7 +60,6 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest( true, true, aRequest.HasAccount, - true/*bAllowPersistentStoring*/, bAllowUseSystemCredentials, bAllowSessionStoring ); } @@ -100,8 +99,8 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest( eUserNameType == ENTITY_MODIFY, ePasswordType == ENTITY_MODIFY, false, - true, - false ); + false, + true ); } @@ -111,7 +110,6 @@ void SimpleAuthenticationRequest::initialize( bool bCanSetUserName, bool bCanSetPassword, bool bCanSetAccount, - bool bAllowPersistentStoring, bool bAllowUseSystemCredentials, bool bAllowSessionStoring ) { @@ -124,8 +122,7 @@ void SimpleAuthenticationRequest::initialize( if( bAllowSessionStoring ) nSize++; - if( bAllowPersistentStoring ) - nSize++; + nSize++; uno::Sequence< ucb::RememberAuthentication > aRememberModes( nSize ); aRememberModes[ nPos++ ] = ucb::RememberAuthentication_NO; @@ -133,8 +130,7 @@ void SimpleAuthenticationRequest::initialize( if( bAllowSessionStoring ) aRememberModes[ nPos++ ] = ucb::RememberAuthentication_SESSION; - if ( bAllowPersistentStoring ) - aRememberModes[ nPos++ ] = ucb::RememberAuthentication_PERSISTENT; + aRememberModes[ nPos++ ] = ucb::RememberAuthentication_PERSISTENT; m_xAuthSupplier = new InteractionSupplyAuthentication( |