Re: ACAP and password dialogs
- From: Philip Van Hoof <spam pvanhoof be>
- To: tinymail-devel-list gnome org
- Cc: Dirk-Jan Binnema <Dirk-Jan Binnema nokia com>, Dave Cridland <dave cridland net>
- Subject: Re: ACAP and password dialogs
- Date: Fri, 13 Apr 2007 01:33:46 +0200
Change that ETA to "a few minutes ago"
Although it's not completely finished (the ACAP part), there's a new
interface called TnyPasswordGetter that your 'password getter' should
implement.
This password getter means: the thing that asks the user or that gets it
from the secure password/key store.
You can also inherit from the new TnyGtkPasswordDialog for this, or
start with the TnyPasswordGetter implementation that is now available in
libtinymailui-gnome-keyring.a (it's a static library indeed) if -DGNOME
(that's the default compilation at this moment).
On Thu, 2007-04-12 at 22:40 +0200, Philip Van Hoof wrote:
> Of course .. if somebody wants to work on this password dialog stuff,
> tell me (so that we are certain that your work on this is in sync with
> what will be needed for the ACAP support).
>
> My ETA for getting this refactoring done is either next weekend or next
> week. It's urgent imo to get this right, because it involves a bigger
> API change that I would like to have in a first release rather than in a
> second one.
>
>
> On Thu, 2007-04-12 at 22:38 +0200, Philip Van Hoof wrote:
> > Because I will be implementing a libtinymail-acap soon, I need an
> > interface for password dialogs.
> >
> > I'm not kidding no: I don't want the libtinymail-acap implementation to
> > strictly depend on gtk+, yet I need a password dialog to allow the user
> > to enter the acap password (and/or to store it in a password manager).
> >
> > Therefore I will specify a TnyPasswordDialog in libtinymailui, let
> > libtinymail-acap depend on libtinymailui and I will more or less require
> > E-mail user agent developers to implement the interface correctly.
> >
> > I will move that code from the platform specific libraries into
> > libtinymail-gtk and I will most likely create a new static library
> > called libtinymail-gnomekeyring.a or something, libtinymail-gtk will
> > statically link with that one of GNOME is enabled).
> >
> > TnyAcapAccountStore will, just like any other account store, implement a
> > "set_password_dialog"-like property. This will be a major API change on
> > TnyAccountStore that must be implemented.
> >
> > If somebody has objections: quick :-).
> >
> > There's some ACAP skeleton/proxy code here already:
> > http://svn.tinymail.org/svn/tinymail/trunk/libtinymail-acap/
> >
> >
> >
--
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://www.pvanhoof.be/blog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]