On Mon, Dec 13, 2010 at 11:31 AM, Les Hazlewood <[email protected]> wrote:
> I agree that we should make this as efficient as possible, but I don't
> understand the comment about realms changing at runtime.
> If you have more than one realm, and even if they don't change at
> runtime, you need to store each realm's name as well as each of its
> principals so you know from where they came.  Many realm
> implementations depend on this.  For example, inside the realm
> implementation:

Sure you do, but you don't have to store all that data on the client
side, i.e. in the cookie. Instead, you could just store the id of the
data on the client as Janne suggested, right? His implementation was
backed up by a db, but perhaps we could make default implementation
using memcached or something similar, or at least make an api for it
so people could implement their own. If you still don't think this is
a valid use case, that's ok, I can just implement it as an add-on
Tapestry/Tynamo module only.

Kalle

Reply via email to