27.10.2013 - But the actual login happens when you call setToken(…). Also make sure that you pass the correct firewall name which you had defined in your .