Overview¶

caslib provides a python interface to CAS [1].

A validating httplib.HTTPSConnection and urllib2.HTTPSHandler.

Features¶

  • CASServer.login() Generate the login URL to log into a CASsified service
  • CASServer.validate() Check a CAS service ticket (use of ssl [2] is
    suggested to validate connection to the server)
  • CASService Define a CASsifed service
  • login_to_cas_service() Attempt to authenticate to a CAS /login form (may
    require lxml [3])

Links¶

[1] Central Authentication Service <http://www.jasig.org/cas>

[2] ssl implements certificate validation (included in Python-2.6+) <http://
    pypi.python.org/pypi/ssl>

[3] lxml provides html support <http://pypi.python.org/pypi/lxml>

