[Building Sakai] Sakai Authentication with JSESSIONID

Steve Swinsburg steve.swinsburg at gmail.com
Sat May 5 19:01:50 PDT 2012


You'll need a CAS server, then use phpcas for the Php code and the follow the guide for Sakai. 

If you don't want that level of complexity and integration, use the sakai.session param and web services. 

Cheers
Steve


Sent from my iPhone

On 06/05/2012, at 0:52, "Benjamin Willard" <developman at uniphix.com> wrote:

> How would I do that?
> 
> -----Original Message-----
> From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com] 
> Sent: Saturday, May 05, 2012 2:20 AM
> To: John Bush
> Cc: Benjamin Willard; sakai-dev at collab.sakaiproject.org;
> cle-release-team at collab.sakaiproject.org
> Subject: Re: [Building Sakai] Sakai Authentication with JSESSIONID
> 
> That's the way. Alternatively, secure both with single sign on. It's trivial
> to implement via phpcas and there is decent guide written for casifying
> Sakai. 
> 
> Cheers
> Steve
> 
> Sent from my iPhone
> 
> On 05/05/2012, at 16:11, John Bush <john.bush at rsmart.com> wrote:
> 
>> yeah, we've done this, jsessionid is not the way.  You want to use the 
>> sakai.session parameter.  If you set that, any call to the portal will 
>> log the user in.  So basically you use SakaiLogin.jws webservice to 
>> log on and get a sakai session then redirect the user to any url in 
>> sakai and attach sakai.session=XXXX to the url.  Badda bing logged on.
>> 
>> I think you need to set session.parameter.allow=true in order to turn 
>> this feature on in your local.properties.
>> 
>> We've done some work on top of this to make it more of an encrypted 
>> token that gets sent through this mechanism so its a little more 
>> secure, and avoids needing to know the users pwd, but some basic 
>> concept.
>> 
>> On Fri, May 4, 2012 at 9:58 PM, Benjamin Willard <developman at uniphix.com>
> wrote:
>>> Hello,
>>> 
>>> I am using a Framework I've designed that is PHP, and I would like to 
>>> use Sakai Authentication to basically log in our users, if they are 
>>> logged in on the site, they are logged in on Sakai and vise versa.  
>>> So I need to figure out how to create the JSESSIONID cookie and make 
>>> it so that it works and that Sakai recognizes that the user has 
>>> logged in.  How can I go by doing this???
>>> 
>>> Ben
>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>> 
>> 
>> 
>> --
>> John Bush
>> 602-490-0470
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to 
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
> 


More information about the sakai-dev mailing list