Cleanning README.rst, setup.py and auth/authform.py
This commit is contained in:
parent
ef39fc9602
commit
b606ca56dd
21
README.rst
21
README.rst
|
@ -18,11 +18,16 @@ version 3 for distribution.
|
|||
Features
|
||||
--------
|
||||
|
||||
TODO: rewrite this part
|
||||
TODO: improve this part
|
||||
|
||||
* Dispatcher
|
||||
* Filters (headers, cookies and data)
|
||||
* Password replay (form, basic auth, ...)
|
||||
* 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
|
||||
* Sql and ldap authentification
|
||||
* Authentification through Authentic2 idp (SAML2 and CAS)
|
||||
|
||||
|
@ -57,13 +62,17 @@ You must install the following packages to use Mandaye
|
|||
|
||||
From sources: http://pypi.python.org/pypi/Mako
|
||||
|
||||
* lxml 2.3.1::
|
||||
|
||||
From sources: http://pypi.python.org/pypi/lxml
|
||||
|
||||
You can install all those dependencies quickly using pip::
|
||||
|
||||
pip install gevent poster SQLAlchemy Beaker Mako
|
||||
pip install gevent poster SQLAlchemy Beaker Mako lxml
|
||||
|
||||
or easy_install::
|
||||
|
||||
easy_install gevent poster SQLAlchemy Beaker Mako
|
||||
easy_install gevent poster SQLAlchemy Beaker Mako lxml
|
||||
|
||||
Quick Start
|
||||
-----------
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import ipdb
|
||||
"""
|
||||
Dispatcher for basic auth form authentifications
|
||||
"""
|
||||
|
@ -13,7 +12,6 @@ from cookielib import CookieJar
|
|||
from datetime import datetime
|
||||
from lxml.html import fromstring
|
||||
from urlparse import parse_qs
|
||||
#from BeautifulSoup import BeautifulSoup
|
||||
|
||||
from mandaye.models import Site, ExtUser, LocalUser
|
||||
from mandaye.http import HTTPResponse, HTTPHeader, HTTPRequest
|
||||
|
|
Reference in New Issue