Commit Graph

436 Commits

Author SHA1 Message Date
Jérôme Schneider 5cbfc8bd40 debian: fix control file 2013-10-17 14:36:03 +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 3b11b68e05 Debian: initial release 2013-10-17 12:56:17 +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
Mikaël Ates 165f041abd Templates must be served in byte, not in unicode. 2013-04-25 10:48:10 +02:00
Mikaël Ates 1c9dba0c88 Modify server to dispatch requests. 2013-04-25 10:47:23 +02:00
Mikaël Ates 859a2bed44 Add static content. 2013-04-25 10:46:40 +02:00
Mikaël Ates 0c50c6fedb Add templates for homepage and response page. 2013-04-25 10:46:23 +02:00
Mikaël Ates 0f6581cc8c Add views for homepage and logout page. 2013-04-25 10:45:16 +02:00
Mikaël Ates f2b79322c9 Add saml2 configuration to config file. 2013-04-25 10:44:17 +02:00
Mikaël Ates 039f4a25f3 Add basic code to management saml2 sp side. 2013-04-25 10:43:28 +02:00
Mikaël Ates d2207f08ed Remove migration from admin script. 2013-04-25 10:42:18 +02:00
Jérôme Schneider 6b1788299a Fix #709: authform now store every post values
* README.rst: upgrade dependencies
 * mandaye/__init__.py: switch to 0.3 version
 * mandaye/auth/authform.py: use post values instead of password and
   username
 * mandaye/models.py: add dict management and post_values argument
 * mandaye/configs: upgrade configurations
 * mandaye/templates/ : upgrade templates for this new feature
2012-07-08 20:55:13 +02:00
Jérôme Schneider eeec3e6b06 Add session timeout and improve famille_vincennes auto login
* mandaye/config.py: enable beaker session timeout
 * mandaye/configs/famille_vincennes.py: only test auto connection on
 html pages
2012-07-04 19:03:39 +02:00
Jérôme Schneider b167b8e0fb Fix auto login 2012-06-29 18:01:05 +02:00
Jérôme Schneider adaf6a1505 Add an initial vector for the token decryption
mandatory for Pycrypto >=2.6
2012-06-29 16:29:16 +02:00
Jérôme Schneider ce058ffa73 Replace manaye by Mandaye 2012-06-12 14:50:44 +02:00