User authentication to services

Olivier Andrieu oliv__a at users.sourceforge.net
Fri Jun 18 07:25:14 PDT 2004


 Kay Sievers [Fri, 18 Jun 2004]:
 > > - the BaseName property replicates the functionality of 
 > >   the GetServiceOwner, so we need to decide between these two.
 > 
 > I've replaced it by GetProperty and changed:
 >   dbus/glib/dbus-gproxy.c:dbus_gproxy_new_for_service_owner() to call
 >   it instead. (Hmm, needs to be tested if it still works)
 > 
 > Is it ok, this way? If yes, I will change the spec too.

What's wrong with having two different methods ? With a single
GetProperty method the reply message carries either an INT32 or a
STRING. That(s not very nice.

 > > - the name "GetServiceProperty" isn't a bit funny; it's a 
 > >   property of the connection, not the service. 
 > >   Suggest just "GetProperty"

But the base name is a property of the service.

-- 
   Olivier



More information about the dbus mailing list