随笔分类 - shiro
摘要:最近 老师说要开发一个 crm, 我们只负责权限和界面的部分, 于是我最近一直在忙权限, 其实也很简单, 我先是了解到了 RBAC (resource-based access control..好像是这么写), 我对他的了解就是基于资源的嘛..那我就开始在数据库里面建表了.综合了网上无数人的想法, 还有我的. 我建立了 五个表...(好像有点多)..User{ int id; String name; String password; }Role{ int id; String name; }Permissio...
阅读全文
摘要:The default Filter instances available automatically are defined by theDefaultFilter enumand the enum'snamefield is the name available for configuration. They are:Filter NameClassanonorg.apache.shiro.web.filter.authc.AnonymousFilterauthcorg.apache.shiro.web.filter.authc.FormAuthenticationFiltera
阅读全文

浙公网安备 33010602011771号