What is more pluggable than giving the User class as a TR.prop?
john mcnally
"Diethelm Guallar, Gonzalo" wrote:
>
> I need to invoke an operation whenever a session times out.
> Is this the "orthodox" approach in Turbine?
>
> * Define MyUser as inheriting from TurbineUser, and implement
> its valueUnbound():
>
> public void valueUnbound(HttpSessionBindingEvent hsbe)
> {
> super.valueUbbound(hsbe);
> call_super_dooper_operation();
> }
>
> * Set TR.props:
>
> services.SecurityService.user.class=myPackage.MyUser
>
> Does this look right? I kinda expected this would be more "pluggable",
> and maybe it is, that's why I'm checking to see if I'm totally off
> track here. Thanks,
>
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]