A Django Central Authentication Service (CAS) single sign-on server
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-mama-cas-2.1.0.tar.gz
.
File metadata
- Download URL: django-mama-cas-2.1.0.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5a4221717304d2f1b4181dc12a478945c3343a03c1594d9931fd8411959f3d |
|
MD5 | 54013c4cf02ab66db34a6b91f462e40e |
|
BLAKE2b-256 | 70654a50e5fb1667600f0d89401b8f589cd10e719cbd0b5996c7f1bdc75dd797 |
File details
Details for the file django_mama_cas-2.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_mama_cas-2.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 50.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e51e97f4b8defed904528fcbd023232deac9e9fd4b869ad7aef68a77141a55f |
|
MD5 | 3765296f34561853847d0ff80278c1f3 |
|
BLAKE2b-256 | e6081bbd1e31cd8265f9becb6ff6c8655c8204bfa507463dc8472d5fba0ed40d |