wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 423

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: 8836
    
    7

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to handle Security in a Struts 2 application
 
Similar Threads
exception in struts
Spring security: pass additional parameter when performing login
Commmunication
Java Secure shopping cart
Multiple checkBox handling in struts