summaryrefslogtreecommitdiff
path: root/daemon/gdm-session-worker.h
Commit message (Collapse)AuthorAgeFilesLines
* gdm-session-worker: Use G_DECLARE_FINAL_TYPEAlessandro Bono2022-09-271-21/+2
|
* session-worker: expose worker state enum to type systemRay Strode2019-06-271-0/+12
| | | | | | | | We're going to need to access the worker state as a property on the worker object. This commit hooks it up to glib-mkenums so the requisite goo can get generated
* daemon: introduce pam extension mechanismRay Strode2017-10-201-2/+0
| | | | | | | | | | | | | | | | | This abuses PAM_BINARY_PROMPT for our own nefarious purposes. The way it works is GDM advertises what "extensions" it supports with the environment variable, GDM_SUPPORTED_PAM_EXTENSIONS (a space separated list of reverse dns notation names). PAM services that support this protocol, will read the environment variable, and check for extension strings they support. They then know that sending PAM_BINARY_PROMPT won't blow up, and know what format to use for the binary data. The type field of the structure is the index of the string from the environment variable. This commit is just foundation work. It doesn't actually add any extensions. https://bugzilla.gnome.org/show_bug.cgi?id=788851
* Trivial: Update FSF Address.Dominique Leuenberger2012-09-061-2/+2
| | | | Fix bug 683383.
* daemon: Replace old method/signal-based API with async method callsJasper St. Pierre2012-08-011-20/+5
| | | | | | | | | | | | | Before, the session worker and session communicated by a series of signals and methods... but backwards. The session worker would listen for a series of signals sent out by the session, and respond back by calling methods on it. This requires a lot of annoying, silly manual labor when trying to add another method to the API. So, reverse the API so that the worker manager calls async methods on the worker itself. https://bugzilla.gnome.org/show_bug.cgi?id=678057
* worker: add reauthentication supportRay Strode2012-07-171-1/+2
| | | | | | | | | | | | | This commit adds reauthentication support for screensavers and user switching to use. 1) It adds a "verification mode" argument to the GdmSession constructor that tweaks the behavior of how the session worker acts to fit login or unlock scenarios better. 2) It adds a way for programs to open a communication channel for user verification to already runnings sessions (so reauthentication happens in the context of the session).
* Return a different error code for "service won't work" than "auth failed"Ray Strode2011-03-081-0/+1
| | | | | If we bubble it up to the greeter then we should be able to have a more sensible UI when e.g. fingerprinting isn't enabled.
* Add preliminary support to the state machine for session unlocking.William Jon McCann2008-03-151-2/+2
| | | | | | | | | | | | | | | 2008-03-15 William Jon McCann <jmccann@redhat.com> * daemon/gdm-session-direct.c: (session_worker_message): * daemon/gdm-session-worker.c: (on_reauthenticate), (on_reauthorize), (on_refresh_credentials), (worker_dbus_handle_message): * daemon/gdm-session-worker.h: Add preliminary support to the state machine for session unlocking. svn path=/trunk/; revision=6019
* Make a bit more like a state machine. This will make it easier to separateWilliam Jon McCann2007-11-061-4/+1
| | | | | | | | | | | | | | | | | | 2007-11-06 William Jon McCann <mccann@jhu.edu> * daemon/gdm-session-worker.c: (gdm_session_worker_uninitialize_pam), (gdm_session_worker_authenticate_user), (gdm_session_worker_authorize_user), (gdm_session_worker_give_user_credentials), (gdm_session_worker_open_user_session), (gdm_session_worker_start_program): * daemon/gdm-session-worker.h: Make a bit more like a state machine. This will make it easier to separate the steps but make sure they occur in the proper order. svn path=/trunk/; revision=5494
* Mass change tabs to spaces. Tabs suck.William Jon McCann2007-08-281-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-28 William Jon McCann <mccann@jhu.edu> * common/gdm-address.c: * common/gdm-address.h: * common/gdm-common.c: * common/gdm-common.h: * common/gdm-log.c: * common/gdm-log.h: * common/gdm-md5.c: * common/gdm-md5.h: * common/gdm-settings-backend.c: * common/gdm-settings-backend.h: * common/gdm-settings-client.c: * common/gdm-settings-client.h: * common/gdm-settings-desktop-backend.c: * common/gdm-settings-desktop-backend.h: * common/gdm-settings-direct.c: * common/gdm-settings-direct.h: * common/gdm-settings-keys.h: * common/gdm-settings-utils.c: * common/gdm-settings-utils.h: * common/gdm-settings.c: * common/gdm-settings.h: * common/gdm-signal-handler.c: * common/gdm-signal-handler.h: * common/ve-signal.c: * common/ve-signal.h: * daemon/auth.c: * daemon/choose.c: * daemon/choose.h: * daemon/factory-slave-main.c: * daemon/filecheck.c: * daemon/gdm-display-factory.c: * daemon/gdm-display-factory.h: * daemon/gdm-display-store.c: * daemon/gdm-display-store.h: * daemon/gdm-display.c: * daemon/gdm-display.h: * daemon/gdm-factory-slave.c: * daemon/gdm-factory-slave.h: * daemon/gdm-greeter-proxy.c: * daemon/gdm-greeter-proxy.h: * daemon/gdm-greeter-server.c: * daemon/gdm-greeter-server.h: * daemon/gdm-local-display-factory.c: * daemon/gdm-local-display-factory.h: * daemon/gdm-manager.c: * daemon/gdm-manager.h: * daemon/gdm-product-display.c: * daemon/gdm-product-display.h: * daemon/gdm-product-slave.c: * daemon/gdm-product-slave.h: * daemon/gdm-server.c: * daemon/gdm-server.h: * daemon/gdm-session-relay.c: * daemon/gdm-session-relay.h: * daemon/gdm-session-worker-job.c: * daemon/gdm-session-worker-job.h: * daemon/gdm-session-worker.c: * daemon/gdm-session-worker.h: * daemon/gdm-session.c: * daemon/gdm-session.h: * daemon/gdm-simple-slave.c: * daemon/gdm-simple-slave.h: * daemon/gdm-slave-proxy.c: * daemon/gdm-slave-proxy.h: * daemon/gdm-slave.c: * daemon/gdm-slave.h: * daemon/gdm-static-display.c: * daemon/gdm-static-display.h: * daemon/gdm-static-factory-display.c: * daemon/gdm-static-factory-display.h: * daemon/gdm-xdmcp-display-factory.c: * daemon/gdm-xdmcp-display-factory.h: * daemon/gdm-xdmcp-display.c: * daemon/gdm-xdmcp-display.h: * daemon/main.c: * daemon/product-slave-main.c: * daemon/session-worker-main.c: * daemon/simple-slave-main.c: * daemon/test-hal-seats.c: * daemon/test-session.c: * gui/simple-greeter/gdm-simple-greeter.c: * gui/simple-greeter/gdm-simple-greeter.h: * gui/simple-greeter/greeter-main.c: * libgreeter/gdm-greeter.c: * libgreeter/gdm-greeter.h: * libgreeter/gdmlanguages.c: * libgreeter/gdmsession.c: Mass change tabs to spaces. Tabs suck. svn path=/branches/mccann-gobject/; revision=5196
* Split the session code up into two parts that talk dbusWilliam Jon McCann2007-06-201-0/+74
svn path=/branches/mccann-gobject/; revision=5009