[Building Sakai] Post login execution

Stephen Marquard stephen.marquard at uct.ac.za
Thu Aug 4 00:56:32 PDT 2011


You could create an event listener to execute something for the
user.login event.

But it depends what you mean by "blocking". If you just want the thread
to wait until the code has finished, an event listener would achieve
that, but if you want something shown in the UI, it's not necessarily
the right place, for example because user.login can get triggered by
WebDAV or other types of logins.

If you want UI interaction with the user, you'd probably need to put it
into the portal code.

Cheers
Stephen

Stephen Marquard, Learning Technologies Co-ordinator
Centre for Educational Technology, University of Cape Town
http://www.cet.uct.ac.za
Email/IM/XMPP: stephen.marquard at uct.ac.za 
Phone: +27-21-650-5037 Cell: +27-83-500-5290 
 


>>> David Wafula <davidwaf at gmail.com> 8/4/2011 9:50 AM >>>
Hi all,
How best can one implement a tool (or just a method)..that gets
executed
immediately after successful login, but before the postlogin
components
(like myworkspace) load? The method should be blocking.

regards,
-- 
David Wafula


 

###
UNIVERSITY OF CAPE TOWN 

This e-mail is subject to the UCT ICT policies and e-mail disclaimer
published on our website at
http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
+27 21 650 9111. This e-mail is intended only for the person(s) to whom
it is addressed. If the e-mail has reached you in error, please notify
the author. If you are not the intended recipient of the e-mail you may
not use, disclose, copy, redirect or print the content. If this e-mail
is not related to the business of UCT it is sent by the sender in the
sender's individual capacity.

###
 


More information about the sakai-dev mailing list