cake and joomla with single sign on

2010-04-11 Thread randy
Hi allI searched through here looking for more info on this idea I
have but didn't see much discussion of this yet. I noticed there was
at one time an effort to create a bridge between Cake and Joomla,
called Jake, but that project seems abandoned.

So what I would like to do is this. I currently maintain a Joomla-
based site. One part of the site I would like to build out with Cake.
I had planned to host it on a subdomain, and then bridge the two
somehow. This cake-based subdomain is going to be available only to
paying customers. I would use the Cake acl stuff to manage those
logins.

But users with logins for the Joomla site need to be able to access
the Cake site. And I'd like to build it so that they can use their
Joomla logins on the Cake sub-site.

I'm really not sure how to go about this, I figured I would need to
dig deep into just how logins work under Joomla. Cake is such a more
agile development platform so I'd really really like to avoid building
a Joomla plugin of any sort. Maybe I could write a small one that just
served as some kind of authentication service...and Cake would make
calls to this in order to make this single sign on happen.

Any advice is appreciated.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using remove me as the subject.


Re: cake and joomla with single sign on

2010-04-11 Thread Zaky Katalan-Ezra
Until you get a specific answer to your challenge try  to use openid which
try to deal with this issue exactly.


If both of your databases are hosted on the same database you can create a
view in cake database to look up joomla users table and use this view when
referencing auth and acl components.


This will solve the duplication but not the need to relogin, I think this
should be solved with some kind of cookie.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using remove me as the subject.


Re: cake and joomla with single sign on

2010-04-11 Thread keymaster
If all you are using is the joomla core (articles, users), without any
(or too many) extensions, you might try something like migrating all
your Joomla articles and users straight from the joomla database into
a cake-based cms eg. croogo ( http://croogo.org/ ) database, then
continuing forward from there.

If you can do that, life will be alot simpler for you in the future,
having to only deal with one system, ie. cake.

But if you are more heavily entrenched in Joomla with many extensions,
this might be too difficult pill to swallow, and you may be forced to
bridge.

Does Jake no longer work?

On Apr 11, 11:36 am, Zaky Katalan-Ezra procsh...@gmail.com wrote:
 Until you get a specific answer to your challenge try  to use openid which
 try to deal with this issue exactly.

 If both of your databases are hosted on the same database you can create a
 view in cake database to look up joomla users table and use this view when
 referencing auth and acl components.

 This will solve the duplication but not the need to relogin, I think this
 should be solved with some kind of cookie.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using remove me as the subject.