In the friendbook example, each command defines two views for authentication
failures in addition to one for "success". I am working on an app which has
four different views for authentication failures and hundreds of commands.
Defining four extra views for each command obscures the logic of my
maverick.xml file and seems unnecessarily redundant. 

It seems like what I would want to do is send all security authentication
failures to a security controller that would have these four views. Has
anyone done anything like this? 

Doing authentication checks in perform() method and return a String
representing a view isn't going to work unless I clutter up the maverick.xml
file with special views that handle the redirect--which would defeat my
purpose. Can I alter the context so that we render a view associated with a
different command? Or, as an alternative, can we call another controller and
have it redefine the context so that we render one of its views?



John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
[EMAIL PROTECTED]


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
[INVALID FOOTER]

Reply via email to