在整个shiro当中它的登录流程是怎么走的?
shiro.ini文件修改前:
[users] admin=hello,member,dept mldn=java,dept,emp [roles] member=member:add,member:edit,member:remove dept=dept:add.dept:edit,dept:list emp=emp:*
shiro.ini文件修改后:
[main] jdbcRealm=cn.mldn.realm.MyRealm securityManager.realms=$jdbcRealm
INSERT INTO member_role(mid,rid) VALUES ('admin',1); INSERT INTO member_role(mid,rid) VALUES ('admin',2); INSERT INTO member_role(mid,rid) VALUES ('mermaid',3); INSERT INTO member_role(mid,rid) VALUES ('mldn',2); INSERT INTO member_role(mid,rid) VALUES ('mldn',3);