[Building Sakai] Sakai Authentication with JSESSIONID

John Bush john.bush at rsmart.com
Fri May 4 23:11:20 PDT 2012


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


More information about the sakai-dev mailing list