Commit Graph

9 Commits

Author SHA1 Message Date
Valentin Samir c6583c925e Support authentication renewal in federate mode 2016-08-01 17:36:33 +02:00
Valentin Samir 2a1c90965c Add a checkbox to forget the identity provider if we checked "remember the identity provider" 2016-08-01 12:01:53 +02:00
Valentin Samir 0237364d8e Only set "remember my provider" in federated mode upon successful authentication 2016-08-01 11:34:49 +02:00
Valentin Samir aae3a0186e Factorize froms.py 2016-07-31 20:30:27 +02:00
Valentin Samir 34118833bf Display an error message on bad response from identity provider in federate mode. fix #7.
If the identity provider CAS do not return an XML document as specified on ticket validation,
an XML parsing error is raised. We now catch it and display a message to the user.
2016-07-29 16:35:21 +02:00
Valentin Samir abf0200f87 Add a test case related to 6b3b280d31 2016-07-05 13:09:52 +02:00
Valentin Samir aa433d3c58 Use django admin application to add/modif identty providers when CAS_FEDERATE is True 2016-07-04 17:23:11 +02:00
Valentin Samir 7cc3ba689f Correct some code style errors and remove some forgotten debug lines 2016-07-03 14:19:39 +02:00
Valentin Samir 90daf3d2a0 Add unit tests for when CAS_FEDERATE is True
Also fix some unicode related bugs
2016-07-03 13:53:12 +02:00