Hi all!
I'm striving to enable Turbine to run all Actions using
programmatic JAAS privileges. I'm able to do this by using
a common parent class for all my Actions and Screen classes
but it's quite a hack and doesn't apply to internal actions.
The better way to approach this, I think, would be to
hook into action loading code. What I tried to do is that
I created a custom AssemblerBrokerService that wraps the
loaded action into another one that calls the original
Action with JAAS privileges.
However, it can't: Action.perform(RunData) is protected
(I must call it instead of doPerform since some of our
abstract action classes do things there)
There is a way to make this work, though: to declare
my wrapper Action class in package org.apache.turbine.modules
but it's something I really do not feel like doing...
Any suggestions?
Thanks,
Panu
--
Panu H�llfors, [EMAIL PROTECTED]|CS Student, Helsinki University of Technology
http://panu.hallfors.com | Chief Software Architect, Viloke Oy
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>