Hi All,
i've a Security Plugin in a Multi-Module architecture which is responsible of verifying whether a user is allowed to browse the requested page. If still not authenticated, the Plugin uses the Dispatcher to forward the request to the Security controller, which is defined in every module as a derived of a common Security controller class.
Now I'm trying to force the user to surf the appropriate module after authentication but this requires a redirect since no forward is allowed between modules.
One solution is to forward the request to a dedicated Action in Security Controller and then execute the redirect from there, but this would require a way to specify additional parameters during forward (is possible to add extra data to forward call?), and I hope to be able to avoid something ugly such as storing the parameter in session.
Otherwise I need a way to directly call redirect in some way, and that's what I would prefer.
Thanks to all Gianluca