4cda61a16a
oVirt is software for managing medium-to-large scale deployments of virtual machine guests across multiple hosts. It supports a feature where users can authenticate with a central server and get transparently connected to a guest system and then automatically get logged into that guest to an associated user session. Guests using old versions of GDM support this single-sign-on capability by means of a greeter plugin, using the old greeter's extension API. This commit adds similar support to the gnome-shell based login screen. How it works: * The OVirtCredentialsManager singleton listens for 'org.ovirt.vdsm.Credentials.UserAuthenticated' D-Bus signal on the system bus from the 'org.ovirt.vdsm.Credentials' bus name. The service that provides that bus name is called the oVirt guest agent. It is also responsible for interacting with the the central server to get user credentials. * This UserAuthenticated signal passes, as a parameter, the a token which needs to be passed through to the PAM service that is specifically set up to integrate with the oVirt authentication architecture. The singleton object keeps the token internally so it can be queried later on. * The OVirtCredentialsManager emits a signal 'user-authenticated' on it's object once the dbus signal is triggered * When the 'user-authenticated' signal is emitted, the login screen tells GDM to start user verification using the PAM service. The authentication stack of the service includes a PAM module provided by oVirt that securely retrieves user credentials from the oVirt guest agent. The PAM module then forwards those credentials on to other modules in the stack so, e.g., the user's gnome keyring can be automatically unlocked. * In case of the screen shield being visible, it also will react on that 'user-authenticated' signal and lift the shield. In that case the login screen will check on construction time if the signal has already been triggered, and a token is available. If a token is available it will immediately trigger the functionality as described above. Signed-off-by: Vinzenz Feenstra <evilissimo@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=702162
126 lines
2.9 KiB
Makefile
126 lines
2.9 KiB
Makefile
NULL =
|
|
|
|
EXTRA_DIST = misc/config.js.in
|
|
CLEANFILES = misc/config.js
|
|
|
|
misc/config.js: misc/config.js.in Makefile
|
|
[ -d $(@D) ] || $(mkdir_p) $(@D) ; \
|
|
sed -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
|
|
-e "s|[@]PACKAGE_VERSION@|$(PACKAGE_VERSION)|g" \
|
|
-e "s|[@]HAVE_BLUETOOTH@|$(HAVE_BLUETOOTH)|g" \
|
|
-e "s|[@]GETTEXT_PACKAGE@|$(GETTEXT_PACKAGE)|g" \
|
|
-e "s|[@]datadir@|$(datadir)|g" \
|
|
-e "s|[@]libexecdir@|$(libexecdir)|g" \
|
|
-e "s|[@]sysconfdir@|$(sysconfdir)|g" \
|
|
$< > $@
|
|
|
|
jsdir = $(pkgdatadir)/js
|
|
|
|
nobase_dist_js_DATA = \
|
|
gdm/authPrompt.js \
|
|
gdm/batch.js \
|
|
gdm/fingerprint.js \
|
|
gdm/loginDialog.js \
|
|
gdm/oVirt.js \
|
|
gdm/realmd.js \
|
|
gdm/util.js \
|
|
extensionPrefs/main.js \
|
|
misc/config.js \
|
|
misc/extensionUtils.js \
|
|
misc/fileUtils.js \
|
|
misc/gnomeSession.js \
|
|
misc/hash.js \
|
|
misc/history.js \
|
|
misc/jsParse.js \
|
|
misc/loginManager.js \
|
|
misc/modemManager.js \
|
|
misc/objectManager.js \
|
|
misc/params.js \
|
|
misc/smartcardManager.js \
|
|
misc/util.js \
|
|
perf/core.js \
|
|
ui/altTab.js \
|
|
ui/animation.js \
|
|
ui/appDisplay.js \
|
|
ui/appFavorites.js \
|
|
ui/backgroundMenu.js \
|
|
ui/background.js \
|
|
ui/boxpointer.js \
|
|
ui/calendar.js \
|
|
ui/checkBox.js \
|
|
ui/ctrlAltTab.js \
|
|
ui/dash.js \
|
|
ui/dateMenu.js \
|
|
ui/dnd.js \
|
|
ui/endSessionDialog.js \
|
|
ui/extensionSystem.js \
|
|
ui/extensionDownloader.js \
|
|
ui/environment.js \
|
|
ui/focusCaretTracker.js\
|
|
ui/ibusCandidatePopup.js\
|
|
ui/grabHelper.js \
|
|
ui/iconGrid.js \
|
|
ui/keyboard.js \
|
|
ui/layout.js \
|
|
ui/lightbox.js \
|
|
ui/lookingGlass.js \
|
|
ui/magnifier.js \
|
|
ui/magnifierDBus.js \
|
|
ui/main.js \
|
|
ui/messageTray.js \
|
|
ui/modalDialog.js \
|
|
ui/separator.js \
|
|
ui/sessionMode.js \
|
|
ui/shellEntry.js \
|
|
ui/shellMountOperation.js \
|
|
ui/slider.js \
|
|
ui/notificationDaemon.js \
|
|
ui/osdWindow.js \
|
|
ui/overview.js \
|
|
ui/overviewControls.js \
|
|
ui/panel.js \
|
|
ui/panelMenu.js \
|
|
ui/pointerWatcher.js \
|
|
ui/popupMenu.js \
|
|
ui/remoteSearch.js \
|
|
ui/remoteMenu.js \
|
|
ui/runDialog.js \
|
|
ui/screencast.js \
|
|
ui/screenshot.js \
|
|
ui/screenShield.js \
|
|
ui/scripting.js \
|
|
ui/search.js \
|
|
ui/searchDisplay.js \
|
|
ui/shellDBus.js \
|
|
ui/status/accessibility.js \
|
|
ui/status/brightness.js \
|
|
ui/status/keyboard.js \
|
|
ui/status/network.js \
|
|
ui/status/power.js \
|
|
ui/status/rfkill.js \
|
|
ui/status/volume.js \
|
|
ui/status/bluetooth.js \
|
|
ui/status/screencast.js \
|
|
ui/status/system.js \
|
|
ui/switcherPopup.js \
|
|
ui/tweener.js \
|
|
ui/unlockDialog.js \
|
|
ui/userWidget.js \
|
|
ui/viewSelector.js \
|
|
ui/wanda.js \
|
|
ui/windowAttentionHandler.js \
|
|
ui/windowManager.js \
|
|
ui/workspace.js \
|
|
ui/workspaceThumbnail.js \
|
|
ui/workspacesView.js \
|
|
ui/workspaceSwitcherPopup.js \
|
|
ui/xdndHandler.js \
|
|
ui/components/__init__.js \
|
|
ui/components/autorunManager.js \
|
|
ui/components/automountManager.js \
|
|
ui/components/networkAgent.js \
|
|
ui/components/polkitAgent.js \
|
|
ui/components/telepathyClient.js \
|
|
ui/components/keyring.js \
|
|
$(NULL)
|