f37 -> f39
[infrastructure.git] / onelab-sso / OnelabSingleSignOn.py
1 import cherrypy
2
3 interface_version='0.0'
4
5 class OnelabSingleSignOn (cherrypy._cptools.XMLRPCController):
6     def version (self):
7         return interface_version
8     version.exposed=True
9
10     # basically this goes at several places to see if this user is known
11     # first sequential implementation should be ok for our needs
12     # given that we'd have only 2 places to check
13     # details of the return structure to be specified
14     def AuthCheck (self, login, password):
15         return { 'alt': "not implemented yet", }
16     AuthCheck.exposed=True
17