使用JdbcRealm时,UnauthorizedException: Subject does not have permission

JdbcRealm默认的PermissionsLookupEnabled为false,再使用时,先把它设为true才可以

JdbcRealm.setPermissionsLookupEnabled(true);
发布了262 篇原创文章 · 获赞 137 · 访问量 7535

猜你喜欢

转载自blog.csdn.net/qq_44868502/article/details/103878892