I need some help with authentication with struts. I have been looking into filter validation, having a directory /publicAction and a directory /privateAction each containing public and private actions. The interesting thing, if the action mapping is /privateAction/* and /publicAction/*, then two two different urls can acccess someAction, both /privateAction/someAction and /publicAction/someAction.

I could have two directories, one /action/public and the other action/private. But here, the mapping would be action/*, and the struts-config.xml paths would have to me something like: path="/private/privateAction", which seems a little messy, especially if a privateAction is to become a public action. Any ideas?

I can't use container managed authentication.

any help would be great!

-Trav


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to