Am Freitag, 15. August 2008 08:11:42 schrieb Nils-Helge Garli Hegvik: > I guess that depends on what you're trying to achieve. Interceptors > are typically used for before/after functionality.
I want to intercept the dispatching of the "Render" and "Action" phase of the portlet, to inject SecurityContext of Spring Security, like its done with spring portlet mvc framework (there are HandlerAdapters which do that). Is this possible using interceptors? How do i know if its a doAction or doRender request from interceptors point of view ? And how do i know if its "before" or "after"? Afaik see interceptor does not know this as ActionProxy Chain does call them which is invoked from Jsr168Dispatcher, am i right? If this is the case, i don't know "where" i am and can't do this with interceptors. If its not possible, what would be the "best" way to do so? Torsten -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds
smime.p7s
Description: S/MIME cryptographic signature