Chas, I've done exactly this using a cookie with a 192bit encrypted value. I cant share the code, but i would advise you to make a LocParam subtype and use that as the authenticator as it is evaluated much before anything else.
Cheers, Tim On 29 Jan 2010, at 23:02, [email protected] wrote: > I have three lift sites at different domain names (different apps) but all > pulling data from the same database (using the same JPA persistence jar). > > I'd like my users to be able to log in on one site, and have it apply to > all three sites. > > Clearly, I need some way to share the lift session across three servlet > contexts. > > What is the simplest way to do this in lift? Avoiding installing some > external app that I have to learn is a priority. > > All three sites are running in one instance of Tomcat 6 (as virtual > domains)... something like example.com, this.example.com, and > that.example.com. > > Any and all suggestions welcome! > > Chas. > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
