Modify Spring security setting