Spring is offering extensive tools for implementing security. Users can use a no of techniques depending upon their problems.
Below is a simple spring application in which xml based authentication and authorization is being implemented.
A Filter proxy must be defined in web.xml file. This will implement/delegate filters and started intercepting the URLs.