AuthenticationStudy/ChangesWeb

Changes in the Web Interface

The design of the web code is pretty modular. For all of authentication needs (as far as I could see from the analysis of the code), all scripts use the code in websession/lib/webuser.py. Thus, for the wab-based part, the management of the modular authentication architecture can be implemented by changing only one file. 

The first called function, in almost all scripts, is always getUid(req). The modular architecture implementation should start by modifying this function and, based on the request and the configuration of CDSWare, decide which authentication scheme to use, how to check the user credentials, etc. 

The rest of the functions in this library seem to be private, so the whole library can be rewritten in the new modular authentication form. 

Of course, the web management of the users (modules/websession/web/youraccount.py) should be modified accordingly. 

AuthenticationStudy/ChangesWeb (last edited 2011-06-03 06:35:23 by localhost)