Enhanced docs in LoginHelper IDL file.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 11 Nov 2004 17:27:47 +0000 (17:27 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 11 Nov 2004 17:27:47 +0000 (17:27 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@719 e2bd861d-eb25-0410-b326-f6ed22b6b98c

idl/Accessibility_LoginHelper.idl

index 473d9ee..c3cd7a8 100644 (file)
 
 module Accessibility {
 
+    /**
+     * LoginHelper:
+     *
+     * This interface is intended for use by assistive technologies
+     * and related user-enabling services, and by applications and
+     * utilities which may wish to restrict access to certain system 
+     * devices and services during security-sensitive states, e.g. when 
+     * the screen is locked or during authentication into some secure
+     * service.
+     *
+     * Such 'applications' (for instance, screen lock dialogs and
+     * security-enabled web browsers) use the @LoginHelper client
+     * interfaces, and the bonobo-activation query service, to
+     * query for assistive technologies which advertise the @LoginHelper
+     * service.  The client then queries these assistive technologies 
+     * for their device I/O requirements, via the @getDeviceReqs call.
+     * The client may then issue the advisory request @setSafe (TRUE), 
+     * which requests that the @LoginHelper-implementing service make a
+     * best-effort attempt to make itself more secure (for instance, 
+     * an onscreen keyboard might turn off word prediction, and a
+     * screenreader may turn off keyboard echo via speech).  The return
+     * value of @setSafe is an advisory indication of whether this attempt
+     * was successful (no specific guarantees are implied).
+     * Once the 'security sensitive' state is exited, the client should 
+     * call @setSafe (FALSE).
+     * 
+     * The return values from @getDeviceReqs inform the client of which
+     * services the @LoginHelper service (e. g. assistive technology) needs
+     * in order to do its job.  The client may use this information to
+     * loosen any restrictions on access which it may currently have in 
+     * place (for instance, keyboard grabs, etc.).  If it does not do so,
+     * the likely outcome is that the end-user will experience loss
+     * of access to the system.
+     *
+     **/
   interface LoginHelper : Bonobo::Unknown {
 
       /*