This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes How to handle Security in a Struts 2 application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to handle Security in a Struts 2 application" Watch "How to handle Security in a Struts 2 application" New topic
Author

How to handle Security in a Struts 2 application

Sammy Bill
Ranch Hand

Joined: Dec 29, 2008
Posts: 96
Hello,

I just finished creating a simple shopping website using Struts 2.
I m wondering how to handle security in struts 2 and wether or not struts 2 provides security as a built-in functionality.

Thanks
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 427

There is no built-in functionality for security. I have used in my last projects Spring Security (http://static.springframework.org/spring-security/site/) which worked fine.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9126
    
    9

I use Container managed security, which you can use with pretty much any java-based web app.


[How To Ask Questions On JavaRanch]
 
jQuery in Action, 3rd edition
 
subject: How to handle Security in a Struts 2 application
 
It's not a secret anymore!