This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
=======================
pyramid_cas v0.3
=======================

Introduction
============

`pyramid_cas` allows your application to authenticate against a Jasig CAS server.
It takes borrowed concepts from different packages like django.cas, anz.client, and collective.cas.

License
============

`pyramid_cas` is licensed under the Apache License 2.0.

Installation
============
::

pip install pyramid_cas

Instructions
============
Required:

Include pyramid_cas under pyramid.includes directive in your .ini file like this::

pyramid.includes =
[... other packages ...]
pyramid_cas

Set the cas server that will be used for authentication::

pyramid_cas.cas_server = your-cas-server
pyramid_cas.redirect_route - allows you to specify what route name to redirect to after succesful authentication

Optional::

pyramid_cas.callback.get_user - allows you to use a callback function to store a different User object after CAS authentication.
By default pyramid_cas will store (using the pyramid remember method) only the user id returned by CAS.

Example::

pyramid_cas.callback.get_user = adminsite.security.getUserObject
pyramid_cas.redirect_route = profile # redirects to profile page on successful authentication

Use the following route names for login and logout in your application::

cas-login
cas-logout

TODO
====
- Implement CAS 1.0 protocol
- Add login and logout by injection and makes it configurable using tweens
- Add tests
- Add demos
- Prevent adding pyramid_cas without settings
- Add came_from parameter


0.3 [7/21/14]
---------

- Now Apache licensed
- Login and logout routes are now named
- Added redirect route after successful authentication

0.2 [6/17/14]
---------

- Brought into compliance with PEP8
- Clarified documentation
- Fixed bug related to iteration over headers (thanks, Szymon: https://github.com/zefciu/pyramid_cas/commit/3b67e69ea2418e64fcf8312e00fa17e10198788f)

0.1 alpha
---------

- [April 13, 2012] Initial version
Release History

Release History

0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_cas-0.3.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Aug 22, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting