Concept Flow - Role-based access control
User sends request
Spring Security intercepts
Check user authentication
Yes
Check user roles
Role matches
Allow access
Send response
The flow shows how Spring Security checks if a user is authenticated and has the right role before allowing access.