Skip to main content

A Django Central Authentication Service (CAS) single sign-on server

Project description

https://travis-ci.org/jbittel/django-mama-cas.png?branch=master

MamaCAS is a Django Central Authentication Service (CAS) single sign-on and single logout server. It implements the CAS 1.0, 2.0 and 3.0 protocols, including some of the optional features.

CAS is a single sign-on and single logout web protocol that allows a user to access multiple applications after providing their credentials a single time. It utilizes security tickets, unique text strings generated and validated by the server, allowing applications to authenticate a user without direct access to the user’s credentials (typically a user ID and password).

The source code can be found at github.com/jbittel/django-mama-cas, and is the preferred location for contributions, suggestions and bug reports. Documentation is available at django-mama-cas.readthedocs.org.

Quickstart

Install with pip:

$ pip install django-mama-cas

Add to INSTALLED_APPS and run migrate:

INSTALLED_APPS += ('mama_cas',)

Include the URLs:

urlpatterns += [url(r'', include('mama_cas.urls'))]

See the full installation instructions for details.

Upgrade

Upgrade with pip:

$ pip install --upgrade django-mama-cas

Before upgrading, see the changelog for any backward incompatible changes or other important upgrade notes.

Contributing

Contributions are welcome! The preferred process for changes is by submitting GitHub pull requests. New code should follow both PEP8 and the Django coding style, generally respecting the style of the surrounding code. When appropriate, pull requests should add or update tests, along with any necessary documentation changes. With any substantial contribution, feel free to add yourself as a contributor in the AUTHORS file.

Development dependencies can be installed from requirements.txt. Execute the test suite with:

$ py.test

You can use tox to run the tests against all supported versions of Python and Django.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mama-cas-2.4.0.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

django_mama_cas-2.4.0-py2.py3-none-any.whl (49.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-mama-cas-2.4.0.tar.gz.

File metadata

  • Download URL: django-mama-cas-2.4.0.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1

File hashes

Hashes for django-mama-cas-2.4.0.tar.gz
Algorithm Hash digest
SHA256 b7c8c8cff1ff82bca71518272a8ca6e87a6866737351558e056163d4ca1f7a97
MD5 d0557013e125dfbf67d9482ce6e8a196
BLAKE2b-256 f1bac5eece94261fe2b391581b6116ac7f7a3ca4e6b1efa50c2a7174446552e6

See more details on using hashes here.

File details

Details for the file django_mama_cas-2.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_mama_cas-2.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1

File hashes

Hashes for django_mama_cas-2.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c284773c2f66030a6d391e7a092ac2014652155d05f411c4d9a2233e5902b3c
MD5 e9019af90041461324062e442b1d737c
BLAKE2b-256 0ee441ffeefdbf02703e1e6bbfacc64ea20b4ec70b992294af9c22331658b7f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page