4
JDBC-based Authentication
In the previous chapter, we saw how we can extend Spring Security to utilize our CalendarDao interface and our existing domain model to authenticate users. In this chapter, we will see how we can use Spring Security’s built-in JDBC support. To keep things simple, this chapter’s sample code is based on our Spring Security setup from Chapter 2, Getting Started with Spring Security. In this chapter, we will cover the following topics:
- Using Spring Security’s built-in JDBC-based authentication support
- Utilizing Spring Security’s group-based authorization to make administering users easier
- Learning how to use Spring Security’s UserDetailsManager interface
- Configuring Spring Security to utilize the existing CalendarUser ...
Get Spring Security - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.