Mphasis interview question

Round 2 - How does security works in Spring Boot?