Spring Security integrates with the Servlet Container by using a standard Servlet Filter
.
This means it works with any application that runs in a Servlet Container.
More concretely, you do not need to use Spring in your Servlet-based application to take advantage of Spring Security.