This chapter covers
Introducing Spring Security
Securing web applications using servlet filters
Authentication against databases and LDAP
Transparently securing method invocations
Have you ever noticed that most people in television sitcoms don’t lock their doors? It happens all the time. On Seinfeld, Kramer frequently let himself into Jerry’s apartment to help himself to the goodies in Jerry’s refrigerator. On Friends, the various characters often entered one another’s apartments without warning or hesitation. Even once, while in London, Ross burst into Chandler’s hotel room, narrowly missing Chandler in a compromising situation with Ross’s sister.
In the days of Leave it to Beaver, it wasn’t so unusual for people to leave ...