summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/simpleauthenticationrequest.cxx
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2002-09-03 12:04:28 +0000
committerKai Sommerfeld <kso@openoffice.org>2002-09-03 12:04:28 +0000
commit271abda36d26d22b6c400dcb8e0d567d61f6e8f8 (patch)
tree2abb313354e7f3ce6cdc8c10f534e626ac8d22fa /ucbhelper/source/provider/simpleauthenticationrequest.cxx
parentc2a1497dd8095b860f7ce08b797584b88e20d9fc (diff)
#102871# - Changed (default) RememberAuthenticationMode to SESSION.
Diffstat (limited to 'ucbhelper/source/provider/simpleauthenticationrequest.cxx')
-rw-r--r--ucbhelper/source/provider/simpleauthenticationrequest.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
index 112b3909321c..cb6f19d0be79 100644
--- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx
+++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: simpleauthenticationrequest.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sb $ $Date: 2001-07-13 12:49:57 $
+ * last change: $Author: kso $ $Date: 2002-09-03 13:04:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -99,8 +99,9 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
setRequest( uno::makeAny( aRequest ) );
// Fill continuations...
- uno::Sequence< ucb::RememberAuthentication > aRememberModes( 1 );
+ uno::Sequence< ucb::RememberAuthentication > aRememberModes( 2 );
aRememberModes[ 0 ] = ucb::RememberAuthentication_NO;
+ aRememberModes[ 1 ] = ucb::RememberAuthentication_SESSION;
m_xAuthSupplier
= new InteractionSupplyAuthentication(
@@ -110,9 +111,9 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
sal_True, // bCanSetPassword
aRequest.HasAccount, // bCanSetAccount
aRememberModes, // rRememberPasswordModes
- ucb::RememberAuthentication_NO, // eDefaultRememberPasswordMode
+ ucb::RememberAuthentication_SESSION, // eDefaultRememberPasswordMode
aRememberModes, // rRememberAccountModes
- ucb::RememberAuthentication_NO // eDefaultRememberAccountMode
+ ucb::RememberAuthentication_SESSION // eDefaultRememberAccountMode
);
uno::Sequence<
@@ -159,8 +160,9 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
setRequest( uno::makeAny( aRequest ) );
// Fill continuations...
- uno::Sequence< ucb::RememberAuthentication > aRememberModes( 1 );
+ uno::Sequence< ucb::RememberAuthentication > aRememberModes( 2 );
aRememberModes[ 0 ] = ucb::RememberAuthentication_NO;
+ aRememberModes[ 1 ] = ucb::RememberAuthentication_SESSION;
m_xAuthSupplier
= new InteractionSupplyAuthentication(
@@ -170,9 +172,9 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
ePasswordType == ENTITY_MODIFY, // bCanSetPassword
eAccountType == ENTITY_MODIFY, // bCanSetAccount
aRememberModes, // rRememberPasswordModes
- ucb::RememberAuthentication_NO, // eDefaultRememberPasswordMode
+ ucb::RememberAuthentication_SESSION, // eDefaultRememberPasswordMode
aRememberModes, // rRememberAccountModes
- ucb::RememberAuthentication_NO // eDefaultRememberAccountMode
+ ucb::RememberAuthentication_SESSION // eDefaultRememberAccountMode
);
uno::Sequence<