1. 07 Nov, 2015 1 commit
  2. 12 Jun, 2015 1 commit
  3. 18 Feb, 2015 4 commits
  4. 05 Jun, 2014 1 commit
  5. 10 Apr, 2014 1 commit
  6. 18 Mar, 2014 4 commits
  7. 14 Mar, 2014 1 commit
  8. 15 Feb, 2014 1 commit
  9. 14 Feb, 2014 1 commit
  10. 13 Feb, 2014 1 commit
  11. 16 Dec, 2013 1 commit
  12. 17 Sep, 2012 1 commit
  13. 06 Sep, 2012 1 commit
  14. 19 Jul, 2012 1 commit
  15. 17 Jul, 2012 3 commits
    • Ray Strode's avatar
      worker: add reauthentication support · 2853ce58
      Ray Strode authored
      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).
      2853ce58
    • Ray Strode's avatar
      daemon: Add an interface for communicating with GDM via D-Bus · e0a3c565
      Ray Strode authored
      One goal for GNOME 3.6, is to replace the screen locking functionality
      provided by gnome-screensaver with redesigned functionality provided
      by gnome-shell.
      
      At the same time, it makes sense to consolidate the yucky PAM
      authentication code to one place (GDM).
      
      Right now only greeters can talk to GDM.  At the time the greeter is
      started, the slave sets up a private communication channel which the
      greeter then connects to for initiating communication.
      
      This commit adds a new method to the org.gnome.DisplayManager.Manager
      interface that allows opening a private connection to the slave that
      is associated with the currently running session.  That slave exports
      the session object over the bus that greeters can interact with the
      session as appropriate.  This interface replaces the
      GDM_GREETER_DBUS_ADDRESS environment variable that used to to be used
      for connecting the greeter to the slave.
      
      This commit also drops gdm-greeter-server and gdm-chooser-server which
      don't fit the new model, and are really just thin middle men that don't do
      anything important.
      
      Furthermore, this commit splits GdmSession interfaces 3 orthogonal parts
      up into 3 separate interfaces on the session object.
      
      A future commit will make this interface work for screensavers/reauthentication.
      
      Based on work by Giovanni Campagna <gcampagna@src.gnome.org>
      
      https://bugzilla.gnome.org/show_bug.cgi?id=676381
      e0a3c565
    • Giovanni Campagna's avatar
      daemon: Port GdmSession to use GDBus · 53e24b49
      Giovanni Campagna authored
      GdmSession is an object in the slave that manages
      the various session worker processes.  Each session
      worker process talks to PAM to perform authentication
      for the user. For instance, if the user has a fingerprint
      reader, then there will normally be two worker processes,
      one for handling fingerprint auth, and one for handling
      password auth.  GdmSession is the interface layer in the
      slave to talking to those running worker processes.
      
      This commit ports GdmSession over to GDBus from dbus-glib.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=622888
      53e24b49
  16. 13 Jul, 2012 2 commits
  17. 30 Aug, 2011 1 commit
    • Ray Strode's avatar
      daemon: run greeter in its own distinct session · 647cad5b
      Ray Strode authored
      Right now before launching the greeter, we create this
      little ad hoc session that only runs through some of the
      OS machinery for session registration.
      
      This means not only is there duplicate code with GDMs
      real session handling functions, but the greeter is
      potentially running in an incomplete session.
      
      This commit, inspired by the work of Lennart and Kay,
      changes GDM to run its greeter session through a session
      worker just like any other session.
      647cad5b
  18. 14 Jun, 2011 3 commits
    • Ray Strode's avatar
      daemon: Distinguish "pam module failed" from "authentication failed" · 0d928919
      Ray Strode authored
      If pam_start() fails, that suggests the configured service
      stack is failing independent of the user account.
      
      This commit exposes that failure as "service unavailable"
      instead of "authentication failed".
      0d928919
    • Ray Strode's avatar
      daemon: Store multiple conversations in the session · a4f5409c
      Ray Strode authored
      We keep multiple conversations in the session now, keyed off of
      which PAM service is at the other end.  Much of the guts still
      only operate on the first conversation added though.
      a4f5409c
    • Ray Strode's avatar
      daemon: Make current pam conversation explicit throughout code · 55a9a413
      Ray Strode authored
      We want to eventually support having multiple
      simultaneous PAM conversations in one login
      screen (so, e.g., username/password, smart card, and
      fingerprint all work at the same time).
      
      This commit refactors the session code to be in terms
      of a conversation object.  With this change, it should
      be easier later to have multiple conversation objects.
      
      The conversation is named by the pam service the login
      screen is talking to.
      55a9a413
  19. 31 Jan, 2011 1 commit
  20. 08 Feb, 2010 2 commits
  21. 05 May, 2008 1 commit
  22. 14 Mar, 2008 1 commit
    • William Jon McCann's avatar
      Refactor things a little. Rename renew to refresh. Add a pid to the · 6405c5b6
      William Jon McCann authored
      2008-03-14  William Jon McCann  <jmccann@redhat.com>
      
      	* daemon/gdm-manager.c: (bus_name_owner_changed):
      	* daemon/gdm-product-slave.c: (send_dbus_string_method),
      	(send_dbus_void_method), (send_dbus_int_method),
      	(relay_session_started), (on_session_started),
      	(on_relay_refresh_credentials), (relay_dbus_handle_message):
      	* daemon/gdm-session-direct.c:
      	(gdm_session_direct_handle_session_started), (do_introspect),
      	(gdm_session_direct_accredit):
      	* daemon/gdm-session-private.h:
      	* daemon/gdm-session-relay.c: (gdm_session_relay_accredit),
      	(handle_secret_info_query), (handle_info), (handle_problem),
      	(handle_session_started), (do_introspect),
      	(gdm_session_iface_init):
      	* daemon/gdm-session-worker.c:
      	(gdm_session_worker_update_environment_from_passwd_info),
      	(_change_user), (_lookup_passwd_info),
      	(gdm_session_worker_accredit_user), (on_refresh_credentials),
      	(worker_dbus_handle_message):
      	* daemon/gdm-session.c: (gdm_session_class_init),
      	(_gdm_session_session_started):
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c: (on_session_started),
      	(gdm_simple_slave_accredit_when_ready), (on_greeter_connected):
      	* daemon/gdm-slave.c: (gdm_slave_get_primary_session_id_for_user),
      	(gdm_slave_switch_to_user_session):
      	* daemon/gdm-slave.h:
      	Refactor things a little.  Rename renew to refresh.  Add a pid to the
      	session started signal.
      
      
      svn path=/trunk/; revision=6018
      6405c5b6
  23. 25 Feb, 2008 1 commit
    • Ray Strode's avatar
      Change "SavedLanguageNameRead"/"SavedSessionNameRead" to · c7c4ecee
      Ray Strode authored
      2008-02-25  Ray Strode  <rstrode@redhat.com>
      
      	* daemon/gdm-session-private.h:
      	* daemon/gdm-session.h:
      	* daemon/gdm-session.c:
      	(gdm_session_class_init),
      	(_gdm_session_default_language_name_changed),
      	(_gdm_session_default_session_name_changed),
      	(_gdm_session_default_session_name_changed),
      	* daemon/gdm-session-direct.c:
      	(get_default_language_name),
      	(get_default_session_name),
      	(gdm_session_direct_defaults_changed),
      	(gdm_session_direct_select_user),
      	(gdm_session_direct_handle_username_changed),
      	(gdm_session_direct_handle_saved_language),
      	(gdm_session_direct_setup),
      	(gdm_session_direct_setup_for_user),
      	(get_language_name),
      	(get_session_name):
      	* daemon/gdm-simple-slave:
      	(on_default_language_name_changed):
      	(on_default_session_name_changed):
      	(create_new_session):
      	* daemon/gdm-greeter-server.[ch]:
      	(gdm_greeter_server_default_language_name_changed),
      	(gdm_greeter_server_default_session_name_changed),
      	(do_introspect):
      	Change "SavedLanguageNameRead"/"SavedSessionNameRead"
      	to "DefaultLanguageNameChanged"/"DefaultSessionNameChanged"
      	and call it with system fallbacks whenever a new user is
      	authenticating before ~/.dmrc is read.
      
      svn path=/trunk/; revision=5847
      c7c4ecee
  24. 20 Feb, 2008 1 commit
    • William Jon McCann's avatar
      Add initial support for timed login. · 94001605
      William Jon McCann authored
      2008-02-20  William Jon McCann  <jmccann@redhat.com>
      
      	* common/gdm-settings-client.c: (gdm_settings_client_get_string):
      	* common/gdm-settings-keys.h:
      	* daemon/gdm-factory-slave.c: (on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user):
      	* daemon/gdm-greeter-server.c: (handle_begin_timed_login),
      	(greeter_handle_child_message), (do_introspect),
      	(gdm_greeter_server_class_init):
      	* daemon/gdm-greeter-server.h:
      	* daemon/gdm-product-slave.c: (on_relay_setup),
      	(on_relay_setup_for_user):
      	* daemon/gdm-session-direct.c: (gdm_session_direct_init),
      	(send_setup), (send_setup_for_user), (gdm_session_direct_setup),
      	(gdm_session_direct_setup_for_user),
      	(gdm_session_direct_set_property),
      	(gdm_session_direct_get_property), (gdm_session_direct_dispose),
      	(gdm_session_direct_class_init):
      	* daemon/gdm-session-relay.c: (send_dbus_string_string_signal),
      	(gdm_session_relay_setup), (gdm_session_relay_setup_for_user),
      	(do_introspect):
      	* daemon/gdm-session.c: (gdm_session_setup),
      	(gdm_session_setup_for_user):
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c: (on_greeter_begin_verification),
      	(on_greeter_begin_timed_login),
      	(on_greeter_begin_verification_for_user), (run_greeter):
      	* daemon/simple-slave-main.c: (main):
      	* daemon/test-session.c: (on_open):
      	* gui/simple-greeter/gdm-greeter-client.c:
      	(emit_string_signal_for_message),
      	(gdm_greeter_client_call_begin_timed_login):
      	* gui/simple-greeter/gdm-greeter-client.h:
      	* gui/simple-greeter/gdm-greeter-login-window.c:
      	(remove_timed_login_timeout), (timed_login_timer),
      	(restart_timed_login_timeout),
      	(on_login_button_clicked_answer_query),
      	(on_login_button_clicked_timed_login), (set_log_in_button_mode),
      	(switch_mode), (do_cancel), (reset_dialog),
      	(gdm_greeter_login_window_info_query),
      	(gdm_greeter_login_window_secret_info_query), (on_user_chosen),
      	(load_theme), (read_configuration),
      	(gdm_greeter_login_window_constructor),
      	(gdm_greeter_login_window_class_init),
      	(gdm_greeter_login_window_init):
      	* gui/simple-greeter/gdm-greeter-login-window.h:
      	* gui/simple-greeter/gdm-greeter-session.c: (on_begin_timed_login),
      	(toggle_login_window):
      	* gui/simple-greeter/gdm-user-chooser-dialog.c:
      	(gdm_user_chooser_dialog_set_show_other_user),
      	(gdm_user_chooser_dialog_set_show_guest_user),
      	(gdm_user_chooser_dialog_set_show_auto_user),
      	(gdm_user_chooser_dialog_init):
      	* gui/simple-greeter/gdm-user-chooser-dialog.h:
      	* gui/simple-greeter/gdm-user-chooser-widget.c: (add_user_other),
      	(add_user_guest), (add_user_auto), (remove_user_other),
      	(remove_user_guest), (remove_user_auto),
      	(gdm_user_chooser_widget_set_show_other_user),
      	(gdm_user_chooser_widget_set_show_guest_user),
      	(gdm_user_chooser_widget_set_show_auto_user),
      	(gdm_user_chooser_widget_constructor),
      	(gdm_user_chooser_widget_init):
      	* gui/simple-greeter/gdm-user-chooser-widget.h:
      	* gui/simple-greeter/greeter-main.c: (main):
      	* gui/simple-greeter/test-greeter-login-window.c: (main):
      	* gui/simple-greeter/test-user-chooser.c: (main):
      	Add initial support for timed login.
      
      
      svn path=/trunk/; revision=5820
      94001605
  25. 18 Feb, 2008 1 commit
    • Ray Strode's avatar
      Read ~/.dmrc when available, and bubble the results up to the greeter · 6e2429a1
      Ray Strode authored
      2008-02-18  Ray Strode  <rstrode@redhat.com>
      
      	Read ~/.dmrc when available, and bubble the
      	results up to the greeter
      
      	* daemon/Makefile.am: add gdm-session-settings.[ch] to 
      	worker sources
      	* daemon/gdm-session-private.h:
      	* daemon/gdm-session.[ch]:
      	(_gdm_session_saved_language_name_read),
      	(_gdm_session_saved_session_name_read),
      	(gdm_session_class_init):
      	Add two new signals: "saved-language-name-read"
      	and "saved-session-name-read"
      	* daemon/gdm-session-worker.c (GdmSessionWorkerPrivate):
      	session settings object to hold ~/.dmrc info.
      	(attempt_to_load_user_settings_as_root): new function
      	to switch from root to user, load settings, and switch
      	back
      	(do_setup), (gdm_session_worker_update_username):
      	Create session settings object, and try to load ~/.dmrc
      	in to object at various points in the pam conversation.
      	(on_saved_language_name_read), (on_saved_session_name_read):
      	report session settings changes from worker to slave
      	* daemon/gdm-greeter-server.[ch]:
      	(gdm_greeter_server_saved_language_name_read),
      	(gdm_greeter_server_saved_session_name_read),
      	(do_introspect): send language and session name to greeter
      
      svn path=/trunk/; revision=5789
      6e2429a1
  26. 07 Nov, 2007 1 commit
    • William Jon McCann's avatar
      Split up the Verification step in the GdmSession interface into component · 6e2a11d3
      William Jon McCann authored
      2007-11-07  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/gdm-factory-slave.c: (greeter_reset_timeout),
      	(queue_greeter_reset), (on_session_setup_complete),
      	(on_session_setup_failed), (on_session_reset_complete),
      	(on_session_reset_failed), (on_session_authenticated),
      	(on_session_authentication_failed), (on_session_authorized),
      	(on_session_authorization_failed), (on_session_accredited),
      	(on_session_accreditation_failed), (on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user),
      	(gdm_factory_slave_start):
      	* daemon/gdm-product-slave.c: (on_session_setup_complete),
      	(on_session_setup_failed), (on_session_reset_complete),
      	(on_session_reset_failed), (on_session_authenticated),
      	(on_session_authentication_failed), (on_session_authorized),
      	(on_session_authorization_failed), (on_session_accredited),
      	(on_session_accreditation_failed), (on_relay_setup),
      	(on_relay_setup_for_user), (on_relay_authenticate),
      	(on_relay_authorize), (on_relay_establish_credentials),
      	(on_relay_renew_credentials), (create_new_session),
      	(relay_dbus_handle_message):
      	* daemon/gdm-session-direct.c: (send_dbus_void_signal),
      	(on_authentication_failed), (on_session_start_failed),
      	(gdm_session_direct_handle_setup_complete),
      	(gdm_session_direct_handle_setup_failed),
      	(gdm_session_direct_handle_reset_complete),
      	(gdm_session_direct_handle_reset_failed),
      	(gdm_session_direct_handle_authenticated),
      	(gdm_session_direct_handle_authentication_failed),
      	(gdm_session_direct_handle_authorized),
      	(gdm_session_direct_handle_authorization_failed),
      	(gdm_session_direct_handle_accredited),
      	(gdm_session_direct_handle_accreditation_failed),
      	(gdm_session_direct_handle_start_failed), (session_worker_message),
      	(do_introspect), (gdm_session_direct_init), (worker_exited),
      	(worker_died), (gdm_session_direct_open), (send_setup),
      	(send_setup_for_user), (gdm_session_direct_setup),
      	(gdm_session_direct_setup_for_user),
      	(gdm_session_direct_authenticate), (gdm_session_direct_authorize),
      	(gdm_session_direct_accredit), (gdm_session_direct_close),
      	(gdm_session_iface_init):
      	* daemon/gdm-session-direct.h:
      	* daemon/gdm-session-private.h:
      	* daemon/gdm-session-relay.c: (send_dbus_string_signal),
      	(send_dbus_void_signal), (gdm_session_relay_setup),
      	(gdm_session_relay_setup_for_user),
      	(gdm_session_relay_authenticate), (gdm_session_relay_authorize),
      	(gdm_session_relay_accredit), (gdm_session_relay_answer_query),
      	(handle_setup_complete), (handle_setup_failed),
      	(handle_authenticated), (handle_authentication_failed),
      	(handle_authorized), (handle_authorization_failed),
      	(handle_accredited), (handle_accreditation_failed),
      	(handle_session_started), (handle_session_stopped),
      	(handle_opened), (session_handle_child_message), (do_introspect),
      	(gdm_session_iface_init):
      	* daemon/gdm-session-worker.c: (gdm_session_execute),
      	(gdm_session_worker_update_username),
      	(gdm_session_worker_initialize_pam),
      	(gdm_session_worker_accredit_user), (session_worker_child_watch),
      	(gdm_session_worker_start_user_session), (do_setup),
      	(do_authenticate), (do_authorize), (do_accredit),
      	(do_open_session), (do_start_session), (state_change_idle),
      	(on_setup), (on_setup_for_user), (on_authenticate), (on_authorize),
      	(on_establish_credentials), (on_renew_credentials),
      	(worker_dbus_handle_message):
      	* daemon/gdm-session.c: (gdm_session_setup),
      	(gdm_session_setup_for_user), (gdm_session_authenticate),
      	(gdm_session_authorize), (gdm_session_accredit),
      	(gdm_session_class_init), (_gdm_session_setup_complete),
      	(_gdm_session_setup_failed), (_gdm_session_reset_complete),
      	(_gdm_session_reset_failed), (_gdm_session_authenticated),
      	(_gdm_session_authentication_failed), (_gdm_session_authorized),
      	(_gdm_session_authorization_failed), (_gdm_session_accredited),
      	(_gdm_session_accreditation_failed),
      	(_gdm_session_session_start_failed):
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c: (greeter_reset_timeout),
      	(queue_greeter_reset), (on_session_setup_complete),
      	(on_session_setup_failed), (on_session_reset_complete),
      	(on_session_reset_failed), (on_session_authenticated),
      	(on_session_authentication_failed), (on_session_authorized),
      	(on_session_authorization_failed), (on_session_accredited),
      	(on_session_accreditation_failed), (create_new_session),
      	(on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user):
      	* daemon/test-session.c: (on_open), (on_session_setup_complete),
      	(on_session_setup_failed), (on_session_reset_complete),
      	(on_session_reset_failed), (on_session_authenticated),
      	(on_session_authentication_failed), (on_session_authorized),
      	(on_session_authorization_failed), (on_session_accredited),
      	(on_session_accreditation_failed), (on_session_started),
      	(on_session_exited), (on_session_died), (main):
      	Split up the Verification step in the GdmSession interface into
      	component parts: setup, authenticate, authorize, accredit.
      
      
      svn path=/trunk/; revision=5496
      6e2a11d3
  27. 30 Oct, 2007 1 commit
    • William Jon McCann's avatar
      Make SessionRelay and SessionDirect (was Session) implement a common · becfcf5d
      William Jon McCann authored
      2007-10-29  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/Makefile.am:
      	* daemon/gdm-factory-slave.c: (on_session_info),
      	(on_session_problem), (on_session_info_query),
      	(on_session_secret_info_query), (on_session_opened),
      	(on_session_user_verified), (on_session_user_verification_error),
      	(on_session_session_started), (create_product_display),
      	(on_session_relay_disconnected), (on_session_relay_connected),
      	(on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user), (on_greeter_answer),
      	(on_greeter_session_selected), (on_greeter_language_selected),
      	(on_greeter_user_selected), (on_greeter_cancel),
      	(gdm_factory_slave_start), (gdm_factory_slave_stop):
      	* daemon/gdm-product-slave.c: (setup_server),
      	(add_user_authorization), (setup_session),
      	(on_session_user_verified), (on_relay_start_session),
      	(on_relay_begin_verification),
      	(on_relay_begin_verification_for_user), (on_relay_answer),
      	(reset_session), (on_relay_open), (create_new_session),
      	(on_relay_cancelled), (connect_to_session_relay),
      	(gdm_product_slave_stop):
      	* daemon/gdm-session-direct.c: (on_user_verification_error),
      	(on_session_started), (on_session_startup_error),
      	(on_session_exited), (gdm_session_direct_handle_verified),
      	(gdm_session_direct_handle_verification_failed),
      	(gdm_session_direct_handle_username_changed),
      	(gdm_session_direct_handle_info_query),
      	(gdm_session_direct_handle_secret_info_query),
      	(gdm_session_direct_handle_info),
      	(gdm_session_direct_handle_problem),
      	(gdm_session_direct_handle_session_started),
      	(gdm_session_direct_handle_startup_failed),
      	(gdm_session_direct_handle_session_exited),
      	(gdm_session_direct_handle_session_died), (handle_connection),
      	(gdm_session_direct_init), (worker_exited), (worker_died),
      	(gdm_session_direct_open), (send_begin_verification),
      	(send_begin_verification_for_user),
      	(gdm_session_direct_begin_verification),
      	(gdm_session_direct_begin_verification_for_user),
      	(is_prog_in_path), (get_session_command_for_file),
      	(get_session_command), (open_ck_session),
      	(setup_session_environment), (gdm_session_direct_start_session),
      	(gdm_session_direct_close), (gdm_session_direct_answer_query),
      	(gdm_session_direct_cancel), (gdm_session_direct_get_username),
      	(gdm_session_direct_select_session),
      	(gdm_session_direct_select_language),
      	(gdm_session_direct_select_user),
      	(_gdm_session_direct_set_display_name),
      	(_gdm_session_direct_set_display_hostname),
      	(_gdm_session_direct_set_display_device),
      	(_gdm_session_direct_set_user_x11_authority_file),
      	(_gdm_session_direct_set_display_is_local),
      	(gdm_session_direct_set_property),
      	(gdm_session_direct_get_property), (gdm_session_direct_dispose),
      	(gdm_session_direct_finalize), (gdm_session_iface_init),
      	(gdm_session_direct_class_init), (gdm_session_direct_new):
      	* daemon/gdm-session-direct.h:
      	* daemon/gdm-session-private.h:
      	* daemon/gdm-session-relay.c: (gdm_session_relay_open),
      	(gdm_session_relay_close), (gdm_session_relay_begin_verification),
      	(gdm_session_relay_begin_verification_for_user),
      	(gdm_session_relay_answer_query),
      	(gdm_session_relay_select_session),
      	(gdm_session_relay_select_language),
      	(gdm_session_relay_select_user), (gdm_session_relay_cancel),
      	(gdm_session_relay_start_session), (handle_info_query),
      	(handle_secret_info_query), (handle_info), (handle_problem),
      	(handle_user_verified), (handle_user_verification_error),
      	(handle_session_started), (handle_session_stopped),
      	(handle_opened), (handle_reset), (do_introspect),
      	(handle_connection), (gdm_session_iface_init),
      	(gdm_session_relay_class_init):
      	* daemon/gdm-session-relay.h:
      	* daemon/gdm-session.c: (gdm_session_get_type), (gdm_session_open),
      	(gdm_session_close), (gdm_session_begin_verification),
      	(gdm_session_begin_verification_for_user),
      	(gdm_session_answer_query), (gdm_session_select_session),
      	(gdm_session_select_language), (gdm_session_select_user),
      	(gdm_session_cancel), (gdm_session_start_session),
      	(gdm_session_class_init), (_gdm_session_user_verified),
      	(_gdm_session_user_verification_error), (_gdm_session_info_query),
      	(_gdm_session_secret_info_query), (_gdm_session_info),
      	(_gdm_session_problem), (_gdm_session_session_started),
      	(_gdm_session_session_startup_error),
      	(_gdm_session_session_exited), (_gdm_session_session_died),
      	(_gdm_session_opened), (_gdm_session_closed),
      	(_gdm_session_selected_user_changed):
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c: (on_session_started),
      	(on_session_exited), (on_session_died), (on_session_user_verified),
      	(on_session_user_verification_error), (on_session_info),
      	(on_session_problem), (on_session_info_query),
      	(on_session_secret_info_query), (on_session_opened),
      	(on_session_selected_user_changed), (create_new_session),
      	(on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user), (on_greeter_answer),
      	(on_greeter_session_selected), (on_greeter_language_selected),
      	(on_greeter_cancel), (on_greeter_connected),
      	(gdm_simple_slave_stop), (gdm_simple_slave_init):
      	* daemon/test-session.c: (on_open), (on_session_started),
      	(on_session_exited), (on_session_died), (on_user_verified),
      	(on_user_verification_error), (on_info_query), (on_info),
      	(on_problem), (on_secret_info_query), (import_environment), (main):
      	Make SessionRelay and SessionDirect (was Session) implement a common
      	interface GdmSession.  Push some code that lived in the simple and product
      	slaves into the SessionDirect class.  Using an interface has a few
      	advantages besides ensuring consistency: makes it easier to do some
      	abstraction in the slave classes, makes it possible to more easily
      	implement other non-pam backends.
      
      	Add a stub for a selected-user-changed signal from the session interface.
      	This will be used to update the user selection in the greeter when the
      	user is set from the backend.
      
      
      svn path=/trunk/; revision=5452
      becfcf5d
  28. 29 Oct, 2007 1 commit
    • William Jon McCann's avatar
      Rename GdmSession to GdmSessionDirect in preparation for adding a · 613d29b6
      William Jon McCann authored
      2007-10-29  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/Makefile.am:
      	* daemon/gdm-product-slave.c: (on_session_opened),
      	(on_session_started), (on_session_exited), (on_session_died),
      	(slave_open_ck_session), (setup_session_environment),
      	(setup_session), (on_session_user_verified),
      	(on_session_user_verification_error), (on_session_info),
      	(on_session_problem), (on_session_info_query),
      	(on_session_secret_info_query), (on_relay_begin_verification),
      	(on_relay_begin_verification_for_user), (on_relay_answer),
      	(reset_session), (on_relay_open), (create_new_session),
      	(on_relay_cancelled), (gdm_product_slave_stop):
      	* daemon/gdm-session-direct.c: (gdm_session_direct_error_quark),
      	(send_dbus_string_signal),
      	(gdm_session_direct_user_verification_error_handler),
      	(gdm_session_direct_started_handler),
      	(gdm_session_direct_startup_error_handler),
      	(gdm_session_direct_exited_handler),
      	(gdm_session_direct_class_install_signals),
      	(gdm_session_direct_finalize), (gdm_session_direct_class_init),
      	(gdm_session_direct_handle_verified),
      	(gdm_session_direct_handle_verification_failed),
      	(gdm_session_direct_handle_username_changed),
      	(cancel_pending_query), (answer_pending_query),
      	(set_pending_query), (gdm_session_direct_handle_info_query),
      	(gdm_session_direct_handle_secret_info_query),
      	(gdm_session_direct_handle_info),
      	(gdm_session_direct_handle_problem),
      	(gdm_session_direct_handle_session_started),
      	(gdm_session_direct_handle_startup_failed),
      	(gdm_session_direct_handle_session_exited),
      	(gdm_session_direct_handle_session_died), (session_worker_message),
      	(handle_connection), (setup_server), (gdm_session_direct_init),
      	(gdm_session_direct_new), (worker_stopped), (worker_started),
      	(worker_exited), (worker_died), (start_worker),
      	(gdm_session_direct_open), (send_begin_verification),
      	(send_begin_verification_for_user),
      	(gdm_session_direct_begin_verification),
      	(send_environment_variable), (send_environment),
      	(gdm_session_direct_start_program), (gdm_session_direct_close),
      	(gdm_session_direct_is_running),
      	(gdm_session_direct_set_environment_variable),
      	(gdm_session_direct_answer_query),
      	(gdm_session_direct_get_username):
      	* daemon/gdm-session-direct.h:
      	* daemon/gdm-session-relay.h:
      	* daemon/gdm-session.c:
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c: (on_session_started),
      	(on_session_exited), (on_session_died), (add_user_authorization),
      	(slave_open_ck_session), (setup_session_environment),
      	(on_session_user_verified), (on_session_user_verification_error),
      	(on_session_info), (on_session_problem), (on_session_info_query),
      	(on_session_secret_info_query), (on_session_opened),
      	(create_new_session), (on_greeter_begin_verification),
      	(on_greeter_begin_verification_for_user), (on_greeter_answer),
      	(on_greeter_cancel), (on_greeter_connected),
      	(gdm_simple_slave_stop):
      	* daemon/gdm-slave.c:
      	* daemon/test-session.c: (on_open), (on_session_started),
      	(on_session_exited), (on_session_died), (on_user_verified),
      	(on_user_verification_error), (on_info_query), (on_info),
      	(on_problem), (on_secret_info_query), (import_environment), (main):
      	Rename GdmSession to GdmSessionDirect in preparation for adding
      	a GdmSession interface.  Naming is hard.
      
      
      svn path=/trunk/; revision=5451
      613d29b6