┌────────────────────────────────────────────┐ ┌────────────────────────────────────────────────┐ ┌─────────────────────────────────┐ ┌────────────────────────────────────────────────┐ │== Single-Page Application │ │== Sign In Controller │ │== Security Component │ │== Database │ │//[JavaScript and Angular]//│ │//[Spring MVC Rest Controller]//│ │//[Spring Bean]//│ │//[Relational Database Schema]//│ └─────────────────────┬──────────────────────┘ └───────────────────────┬────────────────────────┘ └────────────────┬────────────────┘ └───────────────────────┬────────────────────────┘ │ **Submits credentials to** │ │ │ │ //[JSON/HTTPS]// │ │ │ │ ────────────────────────────────────────────────────────> │ │ │ │ │ │ │ │ **Calls isAuthenticated() on 1.2024.5beta1** │ │ │ │ ──────────────────────────────────────────────────>│ │ │ │ │ │ │ │ │ **select * from users where username = ?** │ │ │ │ //[JDBC]// │ │ │ │──────────────────────────────────────────────────>│ │ │ │ │ │ │ │ │