[Lift] Re: Multiple sites, same login

2009-08-31 Thread Charles F. Munat

Not too late. Thanks!

Chas.

Jean-Luc wrote:
> Soory, a bit late ... Another option is CAS.
> http://www.jasig.org/cas, http://www.ja-sig.org/wiki/display/CASUM/Home
> 
> Jean-Luc
> 
> 
> 2009/8/27 Charles F. Munat mailto:c...@munat.com>>
> 
> 
> This is good to know about. Thanks!
> 
> Marc Boschma wrote:
>  > Maybe https://opensso.dev.java.net/ might be of interest? Might also
>  > be a bit of work...
>  >
>  > Marc
>  >
>  > On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:
>  >
>  >> Now this is an interesting idea. I'll think about it...
>  >>
>  >> Thanks!
>  >>
>  >> Chas.
>  >>
>  >> David Pollak wrote:
>  >>>
>  >>> On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat
> mailto:c...@munat.com>
>  >>> >> wrote:
>  >>>
>  >>>
>  >>>I'm building two Lift applications that access the same back end
>  >>>database -- one is for the public site, and the other, which
>  >>> will use a
>  >>>subdomain, is for administration of the public site.
>  >>>
>  >>>A third application will access a separate database, but will be
>  >>> related
>  >>>to the previous two sites.
>  >>>
>  >>>Any suggestions as to how I might have one login that keeps the
>  >>> user
>  >>>logged in across all these sites? Obviously, OpenID would work,
>  >>> and
>  >>>there's complex stuff involving LDAP servers, etc., but I'd like
>  >>> to keep
>  >>>it fairly simple.
>  >>>
>  >>>Ideas?
>  >>>
>  >>>
>  >>> You could put a cookie at the top level for the domain that's an
>  >>> encrypted mix of the user's primary key and the current time.
>  If the
>  >>> user comes to another one of the sites, it could examine the cookie
>  >>> and
>  >>> see if it should create a session for the user.
>  >>>
>  >>>
>  >>>
>  >>>
>  >>>Thanks!
>  >>>Chas.
>  >>>
>  >>>
>  >>>
>  >>>
>  >>>
>  >>> --
>  >>> Lift, the simply functional web framework http://liftweb.net
>  >>> Beginning Scala http://www.apress.com/book/view/1430219890
>  >>> Follow me: http://twitter.com/dpp
>  >>> Git some: http://github.com/dpp
>  >>>
>  >
>  >
>  > >
>  >
> 
> 
> 
> 
> 
> -- 
> Jean-Luc Canela
> jlcane...@gmail.com 
> 
> > 

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



[Lift] Re: Multiple sites, same login

2009-08-31 Thread Jean-Luc
Soory, a bit late ... Another option is CAS.
http://www.jasig.org/cas, http://www.ja-sig.org/wiki/display/CASUM/Home

Jean-Luc


2009/8/27 Charles F. Munat 

>
> This is good to know about. Thanks!
>
> Marc Boschma wrote:
> > Maybe https://opensso.dev.java.net/ might be of interest? Might also
> > be a bit of work...
> >
> > Marc
> >
> > On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:
> >
> >> Now this is an interesting idea. I'll think about it...
> >>
> >> Thanks!
> >>
> >> Chas.
> >>
> >> David Pollak wrote:
> >>>
> >>> On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat  >>> > wrote:
> >>>
> >>>
> >>>I'm building two Lift applications that access the same back end
> >>>database -- one is for the public site, and the other, which
> >>> will use a
> >>>subdomain, is for administration of the public site.
> >>>
> >>>A third application will access a separate database, but will be
> >>> related
> >>>to the previous two sites.
> >>>
> >>>Any suggestions as to how I might have one login that keeps the
> >>> user
> >>>logged in across all these sites? Obviously, OpenID would work,
> >>> and
> >>>there's complex stuff involving LDAP servers, etc., but I'd like
> >>> to keep
> >>>it fairly simple.
> >>>
> >>>Ideas?
> >>>
> >>>
> >>> You could put a cookie at the top level for the domain that's an
> >>> encrypted mix of the user's primary key and the current time.  If the
> >>> user comes to another one of the sites, it could examine the cookie
> >>> and
> >>> see if it should create a session for the user.
> >>>
> >>>
> >>>
> >>>
> >>>Thanks!
> >>>Chas.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Lift, the simply functional web framework http://liftweb.net
> >>> Beginning Scala http://www.apress.com/book/view/1430219890
> >>> Follow me: http://twitter.com/dpp
> >>> Git some: http://github.com/dpp
> >>>
> >
> >
> > >
> >
>
> >
>


-- 
Jean-Luc Canela
jlcane...@gmail.com

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



[Lift] Re: Multiple sites, same login

2009-08-27 Thread Charles F. Munat

This is good to know about. Thanks!

Marc Boschma wrote:
> Maybe https://opensso.dev.java.net/ might be of interest? Might also  
> be a bit of work...
> 
> Marc
> 
> On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:
> 
>> Now this is an interesting idea. I'll think about it...
>>
>> Thanks!
>>
>> Chas.
>>
>> David Pollak wrote:
>>>
>>> On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat >> > wrote:
>>>
>>>
>>>I'm building two Lift applications that access the same back end
>>>database -- one is for the public site, and the other, which  
>>> will use a
>>>subdomain, is for administration of the public site.
>>>
>>>A third application will access a separate database, but will be  
>>> related
>>>to the previous two sites.
>>>
>>>Any suggestions as to how I might have one login that keeps the  
>>> user
>>>logged in across all these sites? Obviously, OpenID would work,  
>>> and
>>>there's complex stuff involving LDAP servers, etc., but I'd like  
>>> to keep
>>>it fairly simple.
>>>
>>>Ideas?
>>>
>>>
>>> You could put a cookie at the top level for the domain that's an
>>> encrypted mix of the user's primary key and the current time.  If the
>>> user comes to another one of the sites, it could examine the cookie  
>>> and
>>> see if it should create a session for the user.
>>>
>>>
>>>
>>>
>>>Thanks!
>>>Chas.
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> Lift, the simply functional web framework http://liftweb.net
>>> Beginning Scala http://www.apress.com/book/view/1430219890
>>> Follow me: http://twitter.com/dpp
>>> Git some: http://github.com/dpp
>>>
> 
> 
> > 
> 

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



[Lift] Re: Multiple sites, same login

2009-08-27 Thread Marc Boschma

Maybe https://opensso.dev.java.net/ might be of interest? Might also  
be a bit of work...

Marc

On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:

>
> Now this is an interesting idea. I'll think about it...
>
> Thanks!
>
> Chas.
>
> David Pollak wrote:
>>
>>
>> On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat > > wrote:
>>
>>
>>I'm building two Lift applications that access the same back end
>>database -- one is for the public site, and the other, which  
>> will use a
>>subdomain, is for administration of the public site.
>>
>>A third application will access a separate database, but will be  
>> related
>>to the previous two sites.
>>
>>Any suggestions as to how I might have one login that keeps the  
>> user
>>logged in across all these sites? Obviously, OpenID would work,  
>> and
>>there's complex stuff involving LDAP servers, etc., but I'd like  
>> to keep
>>it fairly simple.
>>
>>Ideas?
>>
>>
>> You could put a cookie at the top level for the domain that's an
>> encrypted mix of the user's primary key and the current time.  If the
>> user comes to another one of the sites, it could examine the cookie  
>> and
>> see if it should create a session for the user.
>>
>>
>>
>>
>>Thanks!
>>Chas.
>>
>>
>>
>>
>>
>> -- 
>> Lift, the simply functional web framework http://liftweb.net
>> Beginning Scala http://www.apress.com/book/view/1430219890
>> Follow me: http://twitter.com/dpp
>> Git some: http://github.com/dpp
>>
>>>
>
> >


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



[Lift] Re: Multiple sites, same login

2009-08-25 Thread Charles F. Munat

Now this is an interesting idea. I'll think about it...

Thanks!

Chas.

David Pollak wrote:
> 
> 
> On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat  > wrote:
> 
> 
> I'm building two Lift applications that access the same back end
> database -- one is for the public site, and the other, which will use a
> subdomain, is for administration of the public site.
> 
> A third application will access a separate database, but will be related
> to the previous two sites.
> 
> Any suggestions as to how I might have one login that keeps the user
> logged in across all these sites? Obviously, OpenID would work, and
> there's complex stuff involving LDAP servers, etc., but I'd like to keep
> it fairly simple.
> 
> Ideas?
> 
> 
> You could put a cookie at the top level for the domain that's an 
> encrypted mix of the user's primary key and the current time.  If the 
> user comes to another one of the sites, it could examine the cookie and 
> see if it should create a session for the user.
>  
> 
> 
> 
> Thanks!
> Chas.
> 
> 
> 
> 
> 
> -- 
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
> 
> > 

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



[Lift] Re: Multiple sites, same login

2009-08-25 Thread David Pollak
On Mon, Aug 24, 2009 at 3:23 PM, Charles F. Munat  wrote:

>
> I'm building two Lift applications that access the same back end
> database -- one is for the public site, and the other, which will use a
> subdomain, is for administration of the public site.
>
> A third application will access a separate database, but will be related
> to the previous two sites.
>
> Any suggestions as to how I might have one login that keeps the user
> logged in across all these sites? Obviously, OpenID would work, and
> there's complex stuff involving LDAP servers, etc., but I'd like to keep
> it fairly simple.
>
> Ideas?


You could put a cookie at the top level for the domain that's an encrypted
mix of the user's primary key and the current time.  If the user comes to
another one of the sites, it could examine the cookie and see if it should
create a session for the user.


>
>
> Thanks!
> Chas.
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

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



[Lift] Re: Multiple sites, same login

2009-08-25 Thread Charles F. Munat

No one has done this or has any ideas about how to do it?

Charles F. Munat wrote:
> I'm building two Lift applications that access the same back end 
> database -- one is for the public site, and the other, which will use a 
> subdomain, is for administration of the public site.
> 
> A third application will access a separate database, but will be related 
> to the previous two sites.
> 
> Any suggestions as to how I might have one login that keeps the user 
> logged in across all these sites? Obviously, OpenID would work, and 
> there's complex stuff involving LDAP servers, etc., but I'd like to keep 
> it fairly simple.
> 
> Ideas?
> 
> Thanks!
> Chas.
> 
> > 
> 

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