JDBC Authentication Custom tables
Default Spring Security Database Schema
Custom Tables
- What if we have our own custom tables?
- Our won custom column names?
For Security Schema Customization
- Tell Spring how to query your custom tables
- Provide query to find user by user name
- Provide query to find authorities / roles by user name
Development Process
- Create our custom tables with SQL
- Update Spring Security Configuration
- Provide query to find user by user name
- Provide query to find authorities / roles by user name
Step 1: Create our custom tables with SQL
Step 2: Update Spring Security Configuration
댓글남기기