我已经在我的应用程序中配置了spring安全,身份验证工作正常,但授权不起作用,这意味着@secured()注释不起作用。我的spring配置是 private MongoDBAuthenticationProvider authenticationProvider;
public class UserControll
我有一个简单的Spring App。在应用程序中,我有@Repository,它应该提供对带有我数据的JSON文件的访问。Repository("jsonStorageUserRepository") public User getByCursor(Cursor cursor) {
return users.get(cur