【shiro】(4)---Shiro认证、授权案例讲解

Shiro认证、授权案例讲解   一、认证  1、 认证流程     2、用户密码已经加密、加盐的用户认证  (1)测试类 // 用户登陆和退出,这里我自定了一个realm(开发肯定需要自定义realm获取数据库密码和权限) @Test public void testCustomRealmMd5() { // 创建securityManager工厂,通过in
相关文章
相关标签/搜索