2011-09-19 10:17:10 +02:00
|
|
|
===============================================
|
2011-08-03 19:24:26 +02:00
|
|
|
Mandaye - modular reverse proxy to authenticate
|
2011-09-19 10:17:10 +02:00
|
|
|
===============================================
|
2011-08-03 19:24:26 +02:00
|
|
|
|
2011-09-19 10:17:10 +02:00
|
|
|
Mandaye is a modular rewriting reverse proxy. Its main use is to add external
|
|
|
|
authentication systems to legacy application, i.e. SSO.
|
|
|
|
It dispatches HTTP requests to your applications and allow you to transform and
|
|
|
|
filter the request and the response.
|
|
|
|
Mandaye allows to couple your authentication provider with incompatible web
|
|
|
|
applications.
|
2011-08-03 19:24:26 +02:00
|
|
|
|
2011-09-19 10:17:10 +02:00
|
|
|
Copying
|
|
|
|
-------
|
|
|
|
|
|
|
|
This software copyrighted by Entr'ouvert and is licensed under the GNU AGPL
|
|
|
|
version 3 for distribution.
|
2011-08-03 19:24:26 +02:00
|
|
|
|
|
|
|
Features
|
|
|
|
--------
|
|
|
|
|
2011-10-07 22:56:41 +02:00
|
|
|
TODO: improve this part
|
|
|
|
|
|
|
|
* Filters: You can filter the request or the response with one or many filters.
|
|
|
|
You can serve static response in a filter.
|
|
|
|
There 3 types of filters:
|
|
|
|
* on_request
|
|
|
|
* on_response
|
|
|
|
* reponse
|
|
|
|
* Dispatcher: This will call the right filters
|
|
|
|
* Authentification management
|
2011-08-03 19:24:26 +02:00
|
|
|
* Sql and ldap authentification
|
|
|
|
* Authentification through Authentic2 idp (SAML2 and CAS)
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
2011-09-19 10:17:10 +02:00
|
|
|
You must install the following packages to use Mandaye
|
2011-08-03 19:24:26 +02:00
|
|
|
|
|
|
|
* Gevent 0.13::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/gevent
|
|
|
|
Debian based distribution: apt-get install python-gevent
|
|
|
|
|
|
|
|
* Poster 0.8::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/poster/
|
|
|
|
Debian based distribution: apt-get install python-poster
|
|
|
|
|
2011-09-19 10:17:10 +02:00
|
|
|
* SQLAlchemy 0.7.2::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/SQLAlchemy
|
|
|
|
|
2011-09-19 11:05:11 +02:00
|
|
|
* Beaker 1.5.4::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/Beaker
|
|
|
|
|
2011-09-19 11:06:28 +02:00
|
|
|
* Mako 0.4.2::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/Mako
|
|
|
|
|
2011-10-07 22:56:41 +02:00
|
|
|
* lxml 2.3.1::
|
|
|
|
|
|
|
|
From sources: http://pypi.python.org/pypi/lxml
|
|
|
|
|
2011-09-19 10:17:10 +02:00
|
|
|
You can install all those dependencies quickly using pip::
|
2011-08-03 19:24:26 +02:00
|
|
|
|
2011-10-07 22:56:41 +02:00
|
|
|
pip install gevent poster SQLAlchemy Beaker Mako lxml
|
2011-08-03 19:24:26 +02:00
|
|
|
|
|
|
|
or easy_install::
|
|
|
|
|
2011-10-07 22:56:41 +02:00
|
|
|
easy_install gevent poster SQLAlchemy Beaker Mako lxml
|
2011-08-03 19:24:26 +02:00
|
|
|
|
|
|
|
Quick Start
|
|
|
|
-----------
|
|
|
|
|
2011-09-23 08:49:32 +02:00
|
|
|
Configure mandaye/config.py
|
|
|
|
|
2011-08-03 19:24:26 +02:00
|
|
|
Then launch the following commands::
|
|
|
|
|
2011-09-23 08:49:32 +02:00
|
|
|
./mandayectl --createdb
|
|
|
|
./mandayectl --start
|
2011-08-03 19:24:26 +02:00
|
|
|
|
|
|
|
You should see the following output::
|
|
|
|
|
2011-09-23 08:49:32 +02:00
|
|
|
Database created
|
|
|
|
Starting Mandaye x.x.x.x:xx ...
|
2011-08-03 19:24:26 +02:00
|
|
|
|