From 2d46449566a74678db9c67566c93d3096d349306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 30 Jan 2015 16:52:44 +0100 Subject: [PATCH] archimed: manage correctly logout --- cam/mappers/archimed_saml.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cam/mappers/archimed_saml.py b/cam/mappers/archimed_saml.py index 5d0723a..cf06ddd 100644 --- a/cam/mappers/archimed_saml.py +++ b/cam/mappers/archimed_saml.py @@ -51,7 +51,7 @@ mapping = [ 'on_response': [{'auth': 'store_credentials_in_session'}] }, { - 'path': r'/EXPLOITATION/DEFAULT', + 'path': r'/%s' % base, 'method': 'GET', 'on_response': [{ 'content-types': ['text/html'], @@ -73,6 +73,10 @@ mapping = [ 'method': 'GET', 'response': {'auth': 'sso',} }, + { + 'path': r'/%s/DEFAULT/Ermes/Recherche/logon.svc/logoff$' % base, + 'on_response': [{'auth': 'logout',}], + }, { 'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'], 'method': 'POST',