Spring Security

Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications.

Spring Security is a framework that focuses on providing both authentication and authorization to Java applications. Like all Spring projects, the real power of Spring Security is found in how easily it can be extended to meet custom requirements


  • Comprehensive and extensible support for both Authentication and Authorization

  • Protection against attacks like session fixation, clickjacking, cross site request forgery, etc

  • Servlet API integration

  • Optional integration with Spring Web MVC

  • Much moreā€¦

Quick start

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
5.2.0 M3 PRE Reference Doc. API Doc.
5.2.0 SNAPSHOT Reference Doc. API Doc.
5.1.6 SNAPSHOT Reference Doc. API Doc.
5.1.5 GA Reference Doc. API Doc.
5.0.13 SNAPSHOT Reference Doc. API Doc.
5.0.12 GA Reference Doc. API Doc.
4.2.13 SNAPSHOT Reference Doc. API Doc.
4.2.12 GA Reference Doc. API Doc.


Designed to be completed in 15-30 minutes, a guide provides quick, hands-on instructions for building a starter app for any development task with Spring.


Designed to be read and comprehended in an hour or less, providing more wide-ranging or subjective content than a getting started guide.