On Wed, Jun 25, 2008 at 3:39 PM, Chris Chabot <[EMAIL PROTECTED]> wrote:
> So how do you do your per-container config in java land? (purely for the > 'inject this class with guice to handle the people data service for > container 'foo' and this other class for 'bar') The social-api code isn't doing it yet -- it probably will once Cassie / David / Louis / whoever else is working on there encounter the same problems that you have (security token decryption is the most obvious one). The gadgets code uses http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/ContainerConfig.java?view=markup We'll probably hoist this up into common so that both gadgets + social-api can use it. > > > On Jun 26, 2008, at 12:33 AM, Kevin Brown wrote: > > >>> Now my initial thought was to use the security token for this (the domain >>> key), however there's a catch 22 in that, and that is that the token >>> decoder >>> is also a configurable class ... so it's not available before the config >>> is >>> loaded, and hence the catch 22 :) >>> >> >> >> Ahh -- ok, I see the problem. Adding container=foo is not a bad option >> then. >> > >

