diff --git a/src/python/dm/ds_web_service/service/authRouteDescriptor.py b/src/python/dm/ds_web_service/service/authRouteDescriptor.py index 9cc34dc9bd97455be6fe227b6d8386ad0e8d054e..2d182df21545d3d978950aa2b86ec0d4be1089ca 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