[Building Sakai] [sakai2-tcc] Sakai Session Management and Basic lti Related Doubts

Steve Swinsburg steve.swinsburg at gmail.com
Thu Dec 15 14:35:17 PST 2011


Hi,

For recent versions of Basic LTI, you do not need the web services parameter at all. You especially do not want that setting for production. See 
https://confluence.sakaiproject.org/display/WEBSVCS/How+to+use+the+Sakai+Web+Services

For Basic LTI, think of shared keys and secrets. Replace my.school.edu.au with the key of the application that can access the Sakai Basic LTI provider. That application then shares the key and secret with Sakai. It identifies that application so that  Sakai knows what secret to use to verify the request.

Login/Logout: CAS is irrelevant to Basic LTI as it makes it's own request. But read this guide so you can see the settings:
https://confluence.sakaiproject.org/display/~steve.swinsburg/CASifying+Sakai+with+CAS+3

Session management: That setting is to store the client hostname, see: 
https://jira.sakaiproject.org/browse/SAK-6216

Caching: Sakai uses it's own cache.

Kernel: Are you running Sakai 2.7 or Sakai 2.8? Most fixes are backported. I wouldn't advise running a kernel built for Sakai 2.8 in Sakai 2.7 as that has not been QA'd.

Server settings: Yes, change those to be applicable to your settings. Some URLs are generated based on those settings so you need them to be correct.

cheers,
Steve




On 12/12/2011, at 3:58 PM, kotipallivamsi vamsi wrote:

> Hello ,
> 
> Recently i have Done an Integration of Sakai with Liferay in Amazon Ec2 instance Cloud  and when i was just surfing up with some Community sites i was been Signed Out and Cant able to see the Sakai Related tools visible in the Page.
> 
> Error in the Log file
> 
> Please Login to view the Portlet Content.
> 
> And i have some doubts Related to Sakai.Properties File (All the Below Mentioned Parameters will be used for Production Server Purpose)
> 
> 1)Webservices
> 
> What is the preferable Setting to make the Webservice allow from any where
> 
> webservices.allow=.+
> 
> Or
> 
> webservices.allow=.*
> 
> 2)Basic LtI
> 
>    a)   basiclti.provider.highly.trusted.consumers=my.school.edu.au
> 
>                In the Above Mentioned Parameter Instead of the my.school.edu.au should we mention my own domain or hostname??(If we want to change the hostname do we also change the Parameters in Portal.xml file?)
> 
>    b)basiclti.provider.enabled=true,imsblti.producer.enabled=false
>  
>                Do these Both serve the same Functionality or is there any change.if they are same then what setting will be preferable for production environment with Liferay integration with sakai.
> 
> 3)Login/Logout
> 
> #Let the container handle login or not.
> 
> # Set to true for single-sign on type setups, false for just internal login.
> 
> container.login = false
> 
>        We use CAS Authentication For Sigle -Sign On in Liferay and if we are using that should we make the parameter from False to True?      
> 
> 
> 4) SESSION MANAGEMENT
> 
>         a)
> 
> 		# Resolve client hostnames on login (stored in SAKAI_SESSION).
> 		# Default=false.
> 		session.resolvehostname=false
> 
> We are Using Several Community Sites below a Main Organisation Site so how can the Sakai_Session Get Stored in a way that this is Community site and this is Organisation site?If Sakai_Session Stores only the Main Organisation Site then how it will work on a Community site below the Organisation site.
> 
> 5)CACHE
> 
>            a)Do Sakai Uses Ecache of Liferay Or it uses its Own Caching system?
> 	   b)Is their Any Possibility to integrate the Ecache Management System for sakai As Global Caching System for Both Liferay and sakai??
> 
> 6)Version
> 
> 	a)can we do the Kernel Patching For 2.7 Sakai Version with 2.8 Sakai Kernel?
> 
> 7)Server 
> 
> # choose a server id even if you are running a single app server
> serverId=localhost
> 
> # The URL to the server, including transport, DNS name, and port, if any.
> serverUrl=http://localhost:8080
> 
> # the DNS name of the server.
> serverName=localhost
> 
> 
> In the Above Mentioned Parameters Do we need To change the Localhost with the DNS Name or the Public Ip we have ???
> 
> 
> It will be Really Helpful For me if my doubts get Cleared .
>  
> Thanks & Regards,
> 
> KGR VAMSI
> +919493185242
> System And Database Admin
> Vidyayug Soft Pvt Ltd
> 
> 
> 
> _______________________________________________
> sakai2-tcc mailing list
> sakai2-tcc at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai2-tcc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111216/85983d6c/attachment.html 


More information about the sakai-dev mailing list