[Building Sakai] Sakai new Tool - currentUser

Jaco Gillman jaco at opencollab.co.za
Mon Feb 10 04:31:59 PST 2014


Hi All

I am in the process of creating a new Sakai Tool. Programmatically creating
course Sites, adding users, creating groups etc etc.

When I select the tool as Admin, my first request contains this admin user,
but all other requests inside my tool return a *User *object from
*userDirectoryService.getCurrentUser()*; with no ID or EID value. I then
tried to set this user on the HttpSession, but again, once I enter my
tool's context, and any other controller method, the user object is no
where to be found on the session. Some of my previous emails mentioned the
fact that I struggled to create Course Site, add users due to Permission
restrictions.


I used the Sakai archetype to create the tool.  I have created a Service
interface, with which my tool's frond-end integrates with, and in my
Service implementation I integrate with


Regards,

*Jaco Gillman*

Java Developer

opencollab

*Tel*: +27 21 970 4017  |  *Fax*: +27 21 914 3098

*Email*: jaco at opencollab.co.za  |  *Skype*: gillmanjc

*Web*: www.opencollab.co.za

-- 

------------------------------
See OpenCollab email disclaimer at 
http://www.opencollab.co.za/email-disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140210/caa4d5d6/attachment.html 


More information about the sakai-dev mailing list