add primitive Spring security 3.1