For the latest stable version, please use Spring Security 6.2.4!

Testing

This section describes the testing support provided by Spring Security.

To use the Spring Security test support, you must include spring-security-test-6.1.9.jar as a dependency of your project.

At a high level Spring Security’s test support provides integration for: