All my $.ajax, both POST and GET were working fine, but as soon as I integrated Spring security 3.2.6 into my project the
$.ajax
POST
GET
Spring security 3.2.6
Have you tried to post using normal http request for using spring security you have to use particular set of variable name you can google it .
Also check if we can send post request to restricted URL using AJAX.