aspose file tools*
The moose likes Struts and the fly likes Security in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Security in struts" Watch "Security in struts" New topic
Author

Security in struts

Joby George
Greenhorn

Joined: Jun 10, 2004
Posts: 3
Hi All,

Can any one help me how to configure security in struts and I am using WSAD5.1.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
If I've read the documentation clearly, you still define security through your web.xml deployment descriptors. Then, you can limit access to actions via the struts-config.xml so users in certain roles are allowed, and everybody else rudely rejected.

Check out the struts-config DTD for more info. (I can't think of any better source -- not that I've found.) Maybe the Struts User Guide, but that's just a guess. I don't remember security being mentioned in it.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Security in struts