Tech Mahindra Interview Question

Spring security, how did you secured your application