secret-squirrel/apps/cas_provider
Austin King 86340d65a0 Bug#608075 Adding attributes support to CAS 2 2010-11-24 15:58:47 -08:00
..
management Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
templates/cas Adding feedback from wenzel from Bug#583797. Code in apps/users, messages in base.html template 2010-08-11 10:00:24 -07:00
AUTHORS.txt Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
LICENSE Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
README.rst Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
__init__.py Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
admin.py Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
etree.py Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
forms.py Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
models.py Moving cas_provider app before merge 2010-08-02 17:34:03 +02:00
tests.py Let service tickets expire 30 seconds after they have been issued by default. Bug 570684. 2010-08-10 17:44:45 +02:00
urls.py Bug594880 - Added some CAS 2.0 features gateway, renew, XML format 2010-09-10 09:56:10 -07:00
utils.py Bug#608075 Adding attributes support to CAS 2 2010-11-24 15:58:47 -08:00
views.py Bug#608075 Adding attributes support to CAS 2 2010-11-24 15:58:47 -08:00

README.rst

===================
django-cas-provider
===================

OVERVIEW
=========

django-cas-provider is a provider for the `Central Authentication Service <http://jasig.org/cas>`_. It supports CAS version 1.0 and parts of CAS version 2.0 protocol. It allows remote services to authenticate users for the purposes of Single Sign-On (SSO). For example, a user logs into a CAS server 
(provided by django-cas-provider) and can then access other services (such as email, calendar, etc) without re-entering her password for each service. For more details, see the `CAS wiki <http://www.ja-sig.org/wiki/display/CAS/Home>`_ and `Single Sign-On on Wikipedia <http://en.wikipedia.org/wiki/Single_Sign_On>`_.

INSTALLATION
=============

To install, run the following command from this directory::

	python setup.py install

Or, put `cas_provider` somewhere on your Python path.
	
USAGE
======

#. Add ``'cas_provider'`` to your ``INSTALLED_APPS`` tuple in *settings.py*.
#. In *settings.py*, set ``LOGIN_URL`` to ``'/cas/login/'`` and ``LOGOUT_URL`` to ``'/cas/logout/'``
#. In *urls.py*, put the following line: ``(r'^cas/', include('cas_provider.urls')),``
#. Create login/logout templates (or modify the samples)