This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Security in struts" Watch "Security in struts" New topic

Security in struts

Joby George

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.

wood burning stoves
subject: Security in struts
Similar Threads
how to avoid the user to go page in struts
How to handle Security in a Struts 2 application
struts2 security
security in web application using struts,spring,hibernate
cafebabe in java