I just announced the new Learn Spring course, focused on the fundamentals of Spring 5 and Spring Boot 2:

i want to use spring security in my spring mvc project , i am not using password for authentication , i am asking three question to user and he pass the three answers for these question if answers is correct login success otherwise failed how to implement spring security for this

Hey Amit,
Well, that’s certainly an interesting case – it’s very unusual to ask security questions as a primary means to authenticate the user. If that’s really what you’re doing (do let me know if I understood it wrong) – then you’ll need to go into Spring Security and write your own logic, likely as a custom authentication provider.
But – before you do that, I would reconsider the approach and think through both the security implications (which are significant) but also the user experience for your system.
Hope that helps. Cheers,
Eugen.