Hello everyone. I'm partaking in a project where we have recently decided to use Jetspeed for our portlet container.
Further, since Turbine/Jetspeed provide good facilities for user authentication & authorization we have also decided to run some of our other server-side apps under/in conjunction with Turbine.
Now, my problem is as follows, I have an app that needs the session (RunData) info of Turbine, but nothing else. I would like to be able to intercept the execution in Turbine.java#doGet() right after the session is established and redirect the request to my own class for processing depending on some url and/or get-params.
My first knee-jerk idea was to simply subclass Turbine.java and overload behaviour as needed. However, it turned out that Turbine.java is declared final and won't be overloaded. (Why?)
Next I found this comment embedded in doGet():
/* * In this case none of the template services are running. * The application may be using ECS for views, or a * decendent of RawScreen is trying to produce output. * If there is a 'page.default' property in the TR.props * then use that, otherwise return DefaultPage which will * handle ECS view scenerios and RawScreen scenerios. The * app developer can still specify the 'page.default' * if they wish but the DefaultPage should work in * most cases. */
And in accord with some previous posts on this list, it now seems to me that by utilizing a RawScreen descendant I may bypass the templating engine? However, I've not found any good examples of just how to do this.
I could ofcourse just go ahead an disect Turbine.java with a meatcleaver to my own ends, but I'd rather not as this would put us into a position where we'd need to port our modifications whenever we upgrade Turbine.
If you came this far, my humblest thanks for your interest and thanks in advance should you be able to help me.
Regards, Peter
-- .~� Peter B�ck Software Architect `~. .~� 0400-564050 www.GoodMood.fi `~.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
