文章分类 - Shiro权限管理
做权限管理的安全框架
摘要:CustomRealm.java package com.exp.shiro.realm; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo;
阅读全文
摘要:CustomRealm.java package com.exp.shiro.realm; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo;
阅读全文
摘要:IniRealm教程: user.ini [users] exp=123456,admin [roles] admin=user:delete,user:update IniRealmTest.java package com.exp.test; import org.apache.shiro.Se
阅读全文
摘要:AuthencationTest .java package com.exp.test; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.UsernamePasswordToken; import org.ap
阅读全文