Jérôme Schneider
0c58c6c265
authform: use mapper logout url in the default mapper
...
Closes #5990
2014-11-28 09:41:14 +01:00
Jérôme Schneider
63aceaa3e9
authform: remove old association which doesn't work
...
When you change a sp login don't keep the association with the old one
2014-10-28 16:09:26 +01:00
Jérôme Schneider
ea9396bf26
authform: fixing regression introduced by bdff7b72
...
* mandaye/auth/authform.py: logout doesn't propagate response cookies
anymore
2014-10-08 18:07:11 +02:00
Jérôme Schneider
bb5f65101e
authform: local_logout don't resend request cookies in the response
2014-09-17 14:16:25 +02:00
Jérôme Schneider
e266f57756
local_logout: generalized local_logout in authform
...
replace option saml2_sp_logout_url by sp_logout_url
2014-09-12 10:01:30 +02:00
Jérôme Schneider
c62aae3856
backends: complete rewrite of the interface
...
The old interface was to specific for sqlalchemy this new one allow to
write new backends
WARNING: this commit could break compability for some filter which uses
the old interface
2014-09-10 18:51:54 +02:00
Jérôme Schneider
458b278ac5
authform: fix local_logout and improve replay relative uri management
2014-09-05 19:16:27 +02:00
Jérôme Schneider
2f55d335a1
authform: improve relative replay url (add get management)
2014-09-02 16:01:47 +02:00
Jérôme Schneider
eee682ed4a
replay: fix relative url post in login form
2014-09-02 11:55:15 +02:00
Jérôme Schneider
77f05bed32
improving toolbar design
2014-08-07 18:50:16 +02:00
Jérôme Schneider
62d06c1375
mandaye: fixes get_current_login
2014-07-16 12:32:34 +02:00
Jérôme Schneider
745fb8090b
authform: fixes auto_connection arguments
2014-07-11 14:20:21 +02:00
Jérôme Schneider
4aff00199e
authform.py: cleanning auto connection
2014-07-11 13:54:20 +02:00
Jérôme Schneider
4e0e12e335
Revert "authform: apply auto connection on every url"
...
This reverts commit 41c54f407f
.
2014-07-11 12:20:57 +02:00
Jérôme Schneider
41c54f407f
authform: apply auto connection on every url
2014-07-11 12:16:24 +02:00
Jérôme Schneider
677b28e5f1
condition: removing old school support
2014-07-09 19:48:09 +02:00
Jérôme Schneider
1219b4d8aa
mandaye: manage automatic login with Authentic2
2014-07-09 14:32:07 +02:00
Jérôme Schneider
5478407fde
authform: cleanning old code
2014-06-25 15:38:26 +02:00
Jérôme Schneider
4bec4974ad
authform: fixes save_association when it's an update
2014-06-24 18:52:45 +02:00
Jérôme Schneider
be2e10ead2
authform: cleaning loggers
2014-06-03 10:37:47 +02:00
Jérôme Schneider
de6e5967b5
initial import for branch 0.8
...
This is a complete rewrite of the configuration system
Fixes #4666
2014-05-21 13:15:40 +02:00
Jérôme Schneider
4061796d5e
auth/authform.py: improved disacosiation for multi accounts
2014-04-16 12:26:53 +02:00
Jérôme Schneider
b0f1ed9838
sql: fix get_or_create sp_user
2014-04-16 11:04:41 +02:00
Jérôme Schneider
a7fab0ee2b
mandaye:fix multi accounts support
2014-04-15 19:35:22 +02:00
Jérôme Schneider
651257c6cf
mandaye/auth/authform.py: finaly keep session
2014-04-09 19:18:23 +02:00
Jérôme Schneider
98bfb7acef
disassociate: finaly delete all the session
2014-04-09 19:07:45 +02:00
Jérôme Schneider
945d9825e0
mandaye/auth/authform.py: don't stay login on the idp after a
...
disassociation
2014-04-09 18:59:08 +02:00
Jérôme Schneider
b60530da58
auth/authform.py: improving disassocitate
2014-01-20 10:55:26 +01: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
2ed7bfc4a2
saml2: implement slo initiated by sp
2013-05-29 18:13:17 +02:00
Jérôme Schneider
c27b76896c
authform: fix config test
2013-05-28 19:48:13 +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
8aab8afeca
authform: finish support of simple authentification with a post
2013-05-24 11:04:12 +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
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
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
e0ea574b04
Fixes #710 : manage storage backends and implement sql one
...
WARNING: this commit brake sql migrations
2013-05-21 11:59:19 +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
0aaa601bbb
Improve logging system: add a uuid and use a specific Mandaye logger
...
* README.rst: typo
* mandaye/__init__.py: move logging part to log.py
* mandaye/auth/authform.py: replace logging by mandaye logger and
check if pycrpto is installed
* mandaye/auth/vincennes.py: replace logging by mandaye logger
* mandaye/config.py: improve comment on encryption
* mandaye/dispatcher.py: replace logging by mandaye logger and
add new debug
* mandaye/emails.py: replace logging by mandaye logger
* mandaye/filters/vincennes.py: replace logging by mandaye logger
* mandaye/http.py: replace logging by mandaye logger
* mandaye/log.py: new file to manage logging
* mandaye/response.py: replace logging by mandaye logger and
add debug informations
* mandaye/server.py: replace logging by mandaye logger and
add an uuid for the log
* mandaye_admin.py: replace logging by mandaye logger
* mandaye_server.py: replace logging by mandaye logger and fix Python
path
2011-12-23 11:17:15 +01:00
Jérôme Schneider
e0c90eec1e
Fix save association when we add a new login
...
* mandaye/auth/authform.py: _save_association fix logging message when
mandaye create a new local user.
encrypt return a clear password instead of a None when it failed
2011-12-08 12:07:18 +01:00
Jérôme Schneider
c35ae65b25
Merge branch 'prod'
2011-12-07 18:59:31 +01:00
Jérôme Schneider
0ed5f79c3f
Fix login ...
2011-12-07 18:58:59 +01:00
Jérôme Schneider
80228a9a78
Merge branch 'prod'
2011-12-07 18:57:32 +01:00
Jérôme Schneider
b0487b66cf
Hack to force beaker to generate an id on login
2011-12-07 18:56:35 +01:00
Jérôme Schneider
bbb03f884a
Manage passwords encryption
...
* mandaye/auth/authform.py: add a method to crypt and decrypt password
and split associate_submit method
* mandaye/config.py: add options for encryption
2011-12-07 18:49:50 +01:00