SpringSecurity CSRF protection I have implemented CSRF protection using spring boot & below is how it works:-