Set old method name as deprecated in order to fix error at extras-springsecurity3