* larpe/admin/hosts.ptl: add a field to select a plugin
* larpe/plugins/site_authentication_plugins.py: add a method
which returns the plugins name
* po/fr.po: add french translations
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@492 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* conf/filters: folder with filter templates
* conf/filters/output_ciril_net_rh.py: output filter for Ciril which
control if the user is authenticate in larpe
* larpe/Defaults.py: remove useless OUTPUT_FILTER_BASE parameter
* larpe/admin/hosts.ptl: manage multi filters with plugins
* larpe/plugins/site_authentication/ciril_net_rh.py: load Ciril
filter
* setup.py: cosmetic
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@489 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/admin/apache.py: use RedirectMatch and fix a rules when the
homepage is redirect to the login page
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@488 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/saml2.ptl: there is not always a cookie attribute in session
and the recuperation of the user object was wrong
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@484 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/saml2.ptl: bad variables name and code cleaning
* larpe/site_authentication.ptl: fix bugs in local_logout
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@482 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
- larpe/sessions.py:
when expiring a session, remove all data indexed by the providerId
- larpe/site_authentication.py:
allows to give directly the list of cookies to local_logout(), bypass
the fact that cookies are stored in Federation object that are by
identity and by session objects (but cookies are by session). The
result is that if the user clean its cookies, re-login on the same
larpe SP, at next logout, the first session will not be logged out,
but larpe could perfectly terminate it if the cookies had been kept
somewhere.
- larpe/saml2.ptl:
do not kill session during logout, you never know if they are not
shared with another service provider (they are used by all site
behind larpe ;( ). instead clean up data indexed by provider Id, and
ask for local_logout() and expire_session() to run.
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@481 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/saml2.ptl:
use sessionIndex to find a session when logout by redirect does not
give the right session.
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@479 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/session.py:
add two dictionnaries larpe_session_indexes and
larpe_session_name_identifiers to cache sessionIndex and
nameIdentifier received from authentication assertion, and use them
to find session to logout when receiving logout request.
* larpes/saml2.ptl:
implement logout using the new dictionnaries to find sessions.
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@478 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/admin/hosts.ptl: allows to add custom filters
* larpe/plugins/site_authentication/ciril_net_rh.py: add logout support
with a filter
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@476 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/plugins/site_authentication_plugins.py: New site
authentification plugin management
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@474 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* admin/hosts.ptl: bad variable name
* admin/users.ptl: fix the ctach of the EmailErorr exception
* errors.ptl: cast "after_url" to string
* sessions.py: fix security issue: session attributtes was shared by
everybody
* po/fr.po: translate everything
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@473 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/session.py:
list can be empty, do not subscript wihtout knowing it's not empty.
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@472 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/ctl/start.py:
add standard options --http, --data-dir, --app-dir.
--script-name cannot be used with http.
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@471 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
* larpe/__init__.py:
* larpe/admin/__init__.py:
add code to support quixote and python 2.6
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@470 3ed937ae-f919-0410-9a43-8e6f19e4ba6e