3:
Re: Re: Integration - Single sign on questions
By: Ernie Ghiglione
|
In response to 2 | 11/15/05 08:47 PM | ||
Hi Scott,
Thanks for posting this second message, now I think I understand this a bit clearer. Ok, before I get into this directly, here's a bit more overall info on how the Moodle/Sakai/Blackboard/etc integrations work with Moodle. For all the integrated packages, you can see that we have created a module *within* the LMS that we trying to integrate. So you have a LAMS Module within Sakai, Moodle and Blackboard that we have developed. These modules basically do a few things: 1.- Work as liason between the LMS and LAMS Also, you need to add the an entry to the LAMS database (on the LAMS side) following these instructions. So once these two systems have all the info about each other, then the fun begins. For the sake of simplicity let's use a Moodle-LAMS example. When a Moodle students logs in into Moodle, and wants to access a LAMS sequence, the rendering of the URL to LAMS sequencing is done dynamically. In the URL, LAMS appends a whole lot of information: The uid is the user_id in Moodle. When LAMS gets all these parameters, it first checks that the hash is correct. The hash is created adding a bunch of parameters and using the secret key that both parties (LAMS and Moodle) have. If the hash is not correct, then the user will get kicked out as LAMS will understand that the user is not coming for the Moodle instance but elsewhere. Once the hash is verified, then LAMS does the authentication and basically accepts the user request. But now LAMS has to check whether this user does actually exists on its database. So it quickly searches the uid. If it exists, then let the user go straight to the sequence. If she doesn't, then LAMS queries the LAMS-Moodle module for the basic user info, so it can create a record for her in LAMS. Once it gets the data from Moodle, creates a record and adds the user to the LAMS class (which has a in one-to-one relation to the Moodle course). I hope that clarifies how the LMS integrations work. Ernie Posted by Ernie Ghiglione |
|
||||||||||
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum