File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes J2EE Security vs Spring Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "J2EE Security vs Spring Security" Watch "J2EE Security vs Spring Security" New topic

J2EE Security vs Spring Security

Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 196

My team is building a new web application for internal corporate users. We are deciding between Java Security (as defined in the Servlet spec) or Spring Security. I tried googling for the pros/cons of each, and I read documentation from the Springsource website, but still I did not find enough to help me reach a decision.

So far the only benefit for Spring Security is that it is not tied to the container. Are there any other benefits? What are the benefits of sticking with J2EE security as implemented by the container?

Thanks in advance for any help,
mack netto

Joined: Feb 16, 2011
Posts: 2
wood burning stoves
subject: J2EE Security vs Spring Security
It's not a secret anymore!