From 0ec5eceb48e7c4e536c6da9a18a2477830e661ce Mon Sep 17 00:00:00 2001
From: Sinisa Veseli <sveseli@aps.anl.gov>
Date: Thu, 8 Oct 2015 06:56:24 +0000
Subject: [PATCH] single sign on routes added

---
 .../service/authRouteDescriptor.py             | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/src/python/dm/ds_web_service/service/authRouteDescriptor.py b/src/python/dm/ds_web_service/service/authRouteDescriptor.py
index 9cc34dc9..2d182df2 100755
--- a/src/python/dm/ds_web_service/service/authRouteDescriptor.py
+++ b/src/python/dm/ds_web_service/service/authRouteDescriptor.py
@@ -25,6 +25,24 @@ class AuthRouteDescriptor:
                 'method'        : [ 'GET' ]
             },
 
+            # Add session
+            {
+                'name'          : 'addSession',
+                'path'          : '%s/sessions/:(sessionId)' % contextRoot,
+                'controller'    : authSessionController,
+                'action'        : 'addSession',
+                'method'        : [ 'POST' ]
+            },
+
+            # Check session
+            {
+                'name'          : 'checkSession',
+                'path'          : '%s/sessions/:(sessionId)' % contextRoot,
+                'controller'    : authSessionController,
+                'action'        : 'checkSession',
+                'method'        : [ 'PUT' ]
+            },
+
         ]
        
         return routes
-- 
GitLab