Upgrade to last version of spring security.