Commit Graph

249 Commits

Author SHA1 Message Date
Jérôme Schneider 119cc70748 setup.py: use tag which begins by v 2014-03-03 18:30:37 +01:00
Jérôme Schneider b60530da58 auth/authform.py: improving disassocitate 2014-01-20 10:55:26 +01:00
Jérôme Schneider 3487119773 saml2: don't authentificate when it's already done 2014-01-14 11:07:53 +01:00
Jérôme Schneider 0864edb936 mandaye/auth/saml2.py: don't return 500 is not the authentification
problem

Only raise exceptions
2014-01-10 15:07:56 +01:00
Jérôme Schneider a76ea49459 mandaye/dispatcher.py: catch exceptions when a hook failed 2014-01-10 15:06:19 +01:00
Jérôme Schneider c71e55c06d improving cache management (304 status) 2013-12-03 17:19:43 +01:00
Jérôme Schneider 839fb8726a saml2: raise correctly errors during metadata fetching 2013-11-04 15:46:00 +01:00
Jérôme Schneider c04708de4b saml2: close http connection 2013-11-04 14:31:29 +01:00
Jérôme Schneider 6f21e0519e add an email prefix in configuration 2013-10-31 12:10:10 +01:00
Jérôme Schneider 50e0957177 mandaye: removing now useless wsgi.py 2013-10-27 21:42:41 +01:00
Jérôme Schneider 9d4bb8cc75 cleaning: removing vincennes from mandaye core 2013-10-27 21:20:47 +01:00
Jérôme Schneider fc40e9b5a3 cleanning: removing now useless scripts like mandaye_manager_sql.py 2013-10-25 22:38:26 +02:00
Jérôme Schneider 1f0b7c6002 cleaning: removing now useless init script 2013-10-25 22:31:17 +02:00
Jérôme Schneider e27d0d127e support static_url option
This option allows to manage static with a classical http server like
apache or nginx
2013-10-23 17:50:54 +02:00
Jérôme Schneider 9e8b4c0142 setup.py: fix install dependencies 2013-10-21 16:30:37 +02:00
Jérôme Schneider c7b45355e0 setup.py: manage git version 2013-10-17 14:22:35 +02:00
Jérôme Schneider 4d11f663c1 setup.py: fix dependencies 2013-10-17 14:17:28 +02:00
Jérôme Schneider 6cf83e4822 authform: fix a logging debug (logger take 1 parameter not 2) 2013-06-05 15:48:30 +02:00
Jérôme Schneider affb13dea2 server: manage local request change
* mandaye/auth/authform.py: clear crypt and decrypt password
 * mandaye/server.py: manage local request change by creating a new
 * dispatcher
2013-06-04 19:20:10 +02:00
Jérôme Schneider 85bffa2bd5 saml2: fix the test ...
Fixes #2997
2013-05-31 16:34:58 +02:00
Jérôme Schneider c8e50d303b saml2: SSO post test if the session contents unique_id
Fixes #2997
2013-05-31 16:29:36 +02:00
Jérôme Schneider 440a24d1c1 saml2: implement slo initiated by IdP and improve slo implementation 2013-05-30 19:04:09 +02:00
Jérôme Schneider 2ed7bfc4a2 saml2: implement slo initiated by sp 2013-05-29 18:13:17 +02:00
Jérôme Schneider 64b0279333 http: don't send critical response when zlib decompression failed 2013-05-29 10:35:57 +02:00
Jérôme Schneider c27b76896c authform: fix config test 2013-05-28 19:48:13 +02:00
Jérôme Schneider 00a6ef10e0 saml2: manage relaystate with a replay 2013-05-28 19:13:09 +02:00
Jérôme Schneider be27141cf6 saml2: add relaystate support for login 2013-05-28 17:07:33 +02:00
Jérôme Schneider 379644d811 authform: add next_url support for login 2013-05-27 19:13:07 +02:00
Jérôme Schneider d7461c429a authform: fix logging message 2013-05-27 18:43:51 +02:00
Jérôme Schneider 29f8242ef1 uthform: use copy instead of deepcopy 2013-05-27 17:42:46 +02:00
Jérôme Schneider 6ac8e1c63e alembic: add alembic into mandaye module 2013-05-27 14:57:47 +02:00
Jérôme Schneider bcb29a4cc2 saml2: begin slo implementation 2013-05-27 08:47:06 +02:00
Jérôme Schneider 765b526c6e backend: remove a debug 2013-05-27 08:46:43 +02:00
Jérôme Schneider 8aab8afeca authform: finish support of simple authentification with a post 2013-05-24 11:04:12 +02:00
Jérôme Schneider 6d7aa42965 http: add delheader method and fix zlib decoding 2013-05-23 22:34:20 +02:00
Jérôme Schneider 8eebdb0cdf filters: modify default filter to rewrite origin header 2013-05-23 22:33:09 +02:00
Jérôme Schneider d6965959be authform: manage a simple post for the replay not only a form 2013-05-23 22:30:16 +02:00
Jérôme Schneider 17184c6fdc config: fixes global config 2013-05-23 11:06:46 +02:00
Jérôme Schneider b5f19ef9c7 config: allow external application to modify config 2013-05-22 18:46:50 +02:00
Jérôme Schneider b76014547d cleaning: remove useless file 2013-05-22 16:49:50 +02:00
Jérôme Schneider e099196410 saml2: cleaning remove useless filter 2013-05-22 16:48:43 +02:00
Jérôme Schneider 0ea966dadb saml2: remove authentic2 dependency and integrate saml2utils into
mandaye
2013-05-22 16:45:44 +02:00
Jérôme Schneider 53ab2c5b82 saml2: add a default mapping 2013-05-22 16:00:27 +02:00
Jérôme Schneider 2c45823495 saml2: finalize sso authentification for Linuxfr example and fix some
issues in sql backend

 * mandaye/auth/authform.py: fix urlencode when string is utf-8
 * mandaye/backends/sql.py: fix some sqlalchemy usage issue
 * mandaye/configs/saml2_example.py: improve mapper
 * mandaye/models.py: fix SPUser __init__ method
 * mandaye/templates/associate.html: improve template
2013-05-22 15:16:02 +02:00
Jérôme Schneider e6211639e3 backend: fixes backends import and sql backend
Migrate from sqlalchemy-migrate to alembic

 * mandaye/auth/authform.py: fix backend sql call
 * mandaye/backends/sql.py: fixes
 * mandaye/backends/default.py: fix backend call
 * mandaye/config.py: new backend call
2013-05-22 11:40:48 +02:00
Jérôme Schneider b8708efc97 saml2: improve authentificatio,
* mandaye/auth/saml2.py: add custom next url for single_sign_on_post
 * mandaye/configs/saml2_example.py: add next_url for single_sign_on_post
 * mandaye/templates/associate.html: improve template
2013-05-22 09:52:46 +02:00
Jérôme Schneider 3cf7195297 Merge branch 'saml2_sp'
Integrate saml2 into Mandaye and merge branche 'sam2_sp'
2013-05-22 00:10:11 +02:00
Jérôme Schneider b52c0185fa requiments.txt: Add sqlachemy, sqlachemy-migrate and mako 2013-05-21 12:04:40 +02:00
Jérôme Schneider e0ea574b04 Fixes #710: manage storage backends and implement sql one
WARNING: this commit brake sql migrations
2013-05-21 11:59:19 +02:00
Mikaël Ates 5a00e108d6 Add utils. 2013-04-25 10:49:18 +02:00