[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Re: how to detect failed login?
I'm forwarding this to the list because I'm sure other users are
interested in too.
---------- Forwarded Message ----------
Subject: Re: how to detect failed login?
Date: Tue, 12 Oct 1999 06:35:21 -0800
From: Tim Brown <Tim.Brown@incenter.org>
Yes, I can see why it doesn't check. But the real problem I am seeing is the fact
that the proxy is throwing an exception *nothing* can catch. I have exception
handling everywhere and it still crashes my program. I could be somewhat
premptive if there were a db.isConnected() or maybe a
isConnected(RemoteDatabase) call I could use to see if a connection exists.
Falko Braeutigam wrote:
> On Tue, 12 Oct 1999, Tim Brown wrote:
> > I seem to be unable to trap a failed login or open() of the
> > database
> >
> > I am calling RemoteDatabase.open(...) with a username and as
> > a test I tried leaving the username blank. The open() does
> > not throw an exception! I get a exception when I try to use
> > an object later like this:
> [snip]
>
> This is true. ozone does not check, if the user actually exists. This sounds
> stupid but there are reasons to do so. Imagine a network of connected ozone
> nodes where objects can be accessed from remote nodes. Such a network can be
> partitioned temporarly. Say there is a ozone server A with user U and an object
> O. At time t this server is reachable by a second server B. U can login at B
> and work with O on A. At time t' A is not reachable by B _but_ U should be able
> to login at B because it is _possible_ that A comes back and we do not know
> what objects U will working with and when. Does this make sence?
>
> Distribution features are not yet implemented in ozone but from the start ozone
> was intended to become a distributed system. The distribution things
> (transactions, user management, memory management..) will be very tricky to
> implement and need a very good design/architecture. Any ideas on this are
> welcome.
>
> Falko
> --
> ______________________________________________________________________
> Falko Braeutigam mailto:falko@softwarebuero.de
> softwarebuero m&b (SMB) http://www.softwarebuero.de
--
Tim Brown
URL: http://www.incenter.org
-------------------------------------------------------
--
______________________________________________________________________
Falko Braeutigam mailto:falko@softwarebuero.de
softwarebuero m&b (SMB) http://www.softwarebuero.de