After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676381 - Provide a way for session components to authenticate the user
Provide a way for session components to authenticate the user
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks: 619955
 
 
Reported: 2012-05-19 18:12 UTC by Giovanni Campagna
Modified: 2012-07-17 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add an interface for acting as a greeter from the session (114.35 KB, patch)
2012-05-19 18:12 UTC, Giovanni Campagna
none Details | Review
Add an interface for acting as a greeter from the session (124.23 KB, patch)
2012-05-19 23:17 UTC, Giovanni Campagna
none Details | Review
Use generated GDBus for libgdmgreeter (69.45 KB, patch)
2012-05-19 23:18 UTC, Giovanni Campagna
none Details | Review

Description Giovanni Campagna 2012-05-19 18:12:39 UTC
bla bla bla...
desktop-devel-list, gdm-list, patch :)
Comment 1 Giovanni Campagna 2012-05-19 18:12:57 UTC
Created attachment 214451 [details] [review]
Add an interface for acting as a greeter from the session

Add a new method to org.gnome.DisplayManager.Display that allows
opening a private connection to the appropriate slave, which in
turns exports a reduced form of the GdmGreeterServer interface,
on a separate GdmSessionDirect.
Comment 2 Giovanni Campagna 2012-05-19 23:17:31 UTC
Created attachment 214469 [details] [review]
Add an interface for acting as a greeter from the session

Add a new method to org.gnome.DisplayManager.Display that allows
opening a private connection to the appropriate slave, which in
turns exports a reduced form of the GdmGreeterServer interface,
on a separate GdmSessionDirect.
Comment 3 Giovanni Campagna 2012-05-19 23:18:00 UTC
Created attachment 214470 [details] [review]
Use generated GDBus for libgdmgreeter

GdmGreeterClient was just a wrapper over the DBus interface, and
was in fact very similar to the autogenerated bindings. Bite the
bullet and replace GdmGreeterClient with generated GdmGreeterServer.
Also add two convenience functions for creating GdmGreeterServers,
one for actual greeters and one for session components that want
to use the greeter interface.
Comment 5 Giovanni Campagna 2012-07-17 11:11:39 UTC
Yep, fixed.