Okay, so after some thought and review, it appears that Hancock is a
bit too complex for what I'm trying to do. (The end users don't need
to deal with an SSO in this case.)
So, I did a bit of digging, and found what I believe to be a solution
over in the Authlogic group. (
http://groups.google.com/group/authlogic/
browse_thread/thread/6cf49ea337eb62af/f388305ee4157a61?
lnk=gst&q=sharing+session#f388305ee4157a61) I thought I would post it
here, just in case somebody is trying to do the same thing and gets
stuck.
Cheers!
-Nicholas
On Nov 15, 6:14 am, Nicholas Young <
nicho...@nicholaswyoung.com>
wrote:
> Thanks, Ben! I'm going to dig into that today.
>
> Nicholas
>
> On Sun, Nov 15, 2009 at 5:50 AM, Ben Lovell <
benjamin.lov...@gmail.com>wrote:
>
>
>
> > 2009/11/15 Nicholas Young <
nicho...@nicholaswyoung.com>
>
> >> Hello,
>
> >> I'm currently developing a middle-size CMS on top of Sinatra. Since
> >> I'm trying to add in whatever features I might want going forward, I'm
> >> definetely thinking about expansion -- plugins and etc. Here's what
> >> I'm thinking:
>
> >> 1) a main Sinatra application (using the Sinatra::Base method of
> >> construction, and using Authlogic to authenticate the user) to
> >> maintain the page content on the site.
>
> >> 2) The first plugin will be a blog, with all of the posts being
> >> indexed at /posts or something.
>
> >> What I want to do is share sessions between the various apps, so the
> >> user doesn't have to maintain two different accounts, or login twice.
>
> >> Is this doable, and if so, how?
>
> >> Thanks!
>
> >> -Nicholas
>
> > Hancock is a pretty neat single sign-on server for sinatra. Should meet
> > your needs:
>
> >
http://atmos.org/index.php/2009/03/20/hancock-a-single-sign-on-server...
>
> > Cheers,
> > Ben