On Mon, 19 Sep 2011 14:07:24 -0300, Lenny Primak <[email protected]>
wrote:
Thiago,
Hi!
in my app, the session can exist but not be valid, so I have a custom
annotation
that has a parameter that I want to trigger this check.
I also do not have ComponentRequestFilter of my own defined,
isn't method advisor and a custom annotation enough?
What I'm suggesting is an alternative to checking fields. The custom
annotation would remain the same, just the code in the method adviser
would check for a session state object instead of persistent fields.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]