设置了setPermissionsLookupEnabled(true)一样报错
String rolepermisson="select rolepermissions from userpermission where username =?";
jdbcRealm.setPermissionsQuery(rolepermisson);
subject.checkPermission("user:select");
String rolepermisson="select rolepermissions from userpermission where username =?";
jdbcRealm.setPermissionsQuery(rolepermisson);
subject.checkPermission("user:select");
2018-10-23
举报