关于shiro中IniSecurityManagerFactory方法过期
shiro.ini#对用户信息进行配置[users]#用户账号与密码[users]zhangsan=1111lisi=2222解决方法如下:DefaultSecurityManager securityManager = DefaultSecurityManager(); IniRealm iniRealm = IniRealm("classpath:shiro.ini"); securityManager.setRealm(iniRealm); SecurityUtils.