You could have two modules, one named public and one named private and so you would have two different path="/someAction" actions one in each modules struts config.
Then in the private one you have path="/someAction" role="Admin" and in the public one you don't have a role attribute or it is role="all" or something. -----Original Message----- From: Travis Stevens [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 5:22 PM To: [EMAIL PROTECTED] Subject: authentication 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]