To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=29152
------- Additional comments from [EMAIL PROTECTED] Wed Apr 2 12:06:53 +0000
2008 -------
mba: The code in question is this:
int DAVAuthListener_Impl::authenticate(
const ::rtl::OUString & inRealm,
const ::rtl::OUString & inHostName,
::rtl::OUString & inoutUserName,
::rtl::OUString & outPassWord )
{
uno::Reference< task::XInteractionHandler > xIH;
if ( m_xEnv.is() )
xIH = m_xEnv->getInteractionHandler();
else
xIH =
DAVResourceAccess::createCommandEnvironment()->getInteractionHandler();
The 'else' part is the hack we are talking about... I'd really love to get
rid of that, but without that part, the authentication just fails exactly in
the cases when there is no interaction handler ( xIH.is() returns false).
In the old code, there is a hack that caches old password; but this works only
if the _first_ call is done with existing interaction handler, and the
consequent ones use this cached password. But this is not the case after the
changes, with XActiveDataStreamer, the calls _without_ the interaction handler
are the first ones.
And this is regardless of the locking - it is just the way it is accessed,
IIRC it is propagated from some exist() method of something - can find the
details on request.
But maybe I'm really doing something wrong myself ;-) - ideas still
appreciated.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]