struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saul Q Yuan" <>
Subject RE: Container vs application managed security - Role checking
Date Wed, 07 Apr 2004 17:29:29 GMT
The class goes with your app, and you need to specify that in the
following tag in your struts-confi.xml file:

<controller processorClass="your process class" />

So Struts knows.


> -----Original Message-----
> From: Tom Bednarz [] 
> Sent: Wednesday, April 07, 2004 1:09 PM
> To: Struts Users Mailing List
> Subject: Container vs application managed security - Role checking 
> After reading lots of online docs and parts of 'Struts in 
> Action' I decided to stay with my implementation of 
> application managed security. However I like to make use of a 
> new feature introduced in Struts 1.1: role checking for actions.
> As far as I understand it, I need to make my own 
> implementation of processRoles in class RequestProcessor.
> The question is:
> When I subclass RequestProcessor, where do I have to put this 
> class? Separate JAR file or can it go somewhere inside my web 
> application? I subclassed the Action class and derived all 
> actions from that class. That worked fine inside the app. But 
> I do not see any direct calls to RequestProcessor, this seems 
> to be done inside the framework.
> Can somebody help?
> Many thanks.
> Tom

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message