Skip to main content
=====
CAS Server
=====

CAS Server is a Django app implementing the `CAS Protocol 3.0 Specification
<https://jasig.github.io/cas/development/protocol/CAS-Protocol-Specification.html>`_.

By defaut, the authentication process use django internal users but you can easily
use any sources (see auth classes in the auth.py file)

The differents parametters you can use in settings.py to tweak the application
are listed in default_settings.py

The defaut login/logout template use `django-bootstrap3 <https://github.com/dyve/django-bootstrap3>`_
but you can use your own templates using the CAS_LOGIN_TEMPLATE,
CAS_LOGGED_TEMPLATE, CAS_WARN_TEMPLATE and CAS_LOGOUT_TEMPLATEsetting variables.

Quick start
-----------

1. Add "cas_server" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'bootstrap3',
'cas_server',
)

For internatinalization support, add "django.middleware.locale.LocaleMiddleware"
to your MIDDLEWARE_CLASSES setting like this::

MIDDLEWARE_CLASSES = (
...
'django.middleware.locale.LocaleMiddleware',
...
)

2. Include the polls URLconf in your project urls.py like this::

url(r'^cas/', include('cas_server.urls', namespace="cas_server")),

3. Run `python manage.py migrate` to create the cas_server models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
to add a first service allowed to authenticate user agains the CAS
(you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/cas/ to login with your django users.

Metadata

Release files for django-cas-server 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-cas-server 0.3.1
File Size Uploaded Provenance Actions
django-cas-server-0.3.1.tar.gz 44.3 kB Without provenance Details for django-cas-server-0.3.1.tar.gz

Release files / django-cas-server-0.3.1.tar.gz

Download URL django-cas-server-0.3.1.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1207b61f5f255693d53b6a9a2f0fafd78e522ef596ad0fef574c3679dfbfa700
BLAKE2b-256 checksum
How to use checksums
46daec060745d80449bb675f1c635e9ff71016002fafd98799c4a1605abf1bda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-cas-server 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page