Spring MVC: components for user registration?

I am building my first Spring MVC application on Tomcat 6. Some pages will be viewable by all, and other pages will be restricted to registered users. I am looking for tips on how to better configure application security to support this. Based on ASP.NET, which provides Login Controls that provide login / login / password recovery components / et , I wonder Spring MVC has equivalent functionality. Since this is common functionality, I hope there are some reusable components that I can use so that I don't have to write all this from scratch.

This is basically a small toy app, so I don't need super-duper protection. I am looking for components that will simplify the authentication / authorization of web users (or how to use the built-in features of Tomcat). I am new to Java web development, so any suggestions on how to quickly create this functionality will be appreciated.

Thank.

+3
source share
1 answer

Spring Security does not have all of these functions, but you can easily create these functions using Spring Security. Spring Security performs authentication and ACL functions.

http://static.springsource.org/spring-security/site/

+2
source

Source: https://habr.com/ru/post/1774732/


All Articles