A module for handling Shibboleth related GatorLink logins.
Can handle pages asking for your GatorLink login information using the standard Shibboleth-based form. It works in 99% of login cases, and can even be set up to enter one’s password completely automatically, acting like a simple redirect.
Instantiates a plugin instance, without any login information. To enable automatic logins, call uf_set_autologin().
A lib.browser.plugins.decorators.extension() that will submit a HTTP POST Request to login. Please note that urllib (or urllib2 in Python 2) does not perform SSL certificate authentication, so while the connection will be done over HTTPS, an active man-in-the-middle attack could potentially compromise your password, however the chance of that is quite rare. This function does not load the login page, nor does it need to, it simply submits the login form as though it had already loaded the login page.
Disables the auto-login system, and logs you out (by simply deleting the session cookie). The refresh argument can be used to call lib.browser.Browser.refresh(), returning the new result.
A lib.browser.plugins.decorators.extension() that can be used to enable or disable automatic login handling.
A lib.browser.plugins.decorators.property_extension() representing the plugin’s autologin username. Note that simply setting this does not enable autologin, that must be done with uf_set_autologin().
A lib.browser.plugins.decorators.property_extension() representing the plugin’s autologin password. Note that simply setting this does not enable autologin, that must be done with uf_set_autologin(). As is the case with any tool using your password, make sure you do not load any rouge, untrusted plugins, as one could potentially steal your plaintext password with it.
A lib.browser.plugins.decorators.property_extension() that can get (but not set) a http.cookiejar.Cookie object containing the login state. If we have not not logged in, or our session is expired, gives None.
If plugin‘s _auto_login is True, handles a login page automatically.
The function that does the magic of pulling the form data from the Shibboleth redirection page, and resubmits it.