1 message in com.mysql.lists.eventum-usersSSO Modification| From | Sent On | Attachments |
|---|---|---|
| Doug Pham | 02 May 2006 07:58 |
| Subject: | SSO Modification![]() |
|---|---|
| From: | Doug Pham (doug...@yahoo.com) |
| Date: | 05/02/2006 07:58:59 AM |
| List: | com.mysql.lists.eventum-users |
Hi All,
I am modifying Eventum's login page to take the Single Sign On (SSO) login
that work is providing. In order for the user to login to the application, they
must first validate through their SSO. Once successfully validated, their login
is saved in a cookie and is accessible by all web applications. Once a person
is logged in, the Eventum's login screen will be automatically populated with
their email and default password. I made the field READONLY so it cannot be
tempered with would like to include an onload to automatically submit that form.
Here is what I have done so far and not working. 1. Modified the header.tpl.html and added the onfiltered="{$OnLoad}" to the 2. Added a simple script to submit the login_from of login_form.tpl.html function submitMyForm() { document.login_form.submit(); } 3. In the index.php I added the followings $tpl->assign("email", 'us...@yahoo.com'); $tpl->assign("passwd", 'password'); $tpl->assign("OnLoad", "submitMyForm();");
Everything seems to be OK except that the OnLoad did not get called.
Has anyone successfully did an onload call? Is this an acceptable approach or
should I create the cookie initially and populate the cookie with the correct
information and let Eventum takes it from there?
Thanks Doug Pham
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.




