在整个shiro当中它的登录流程是怎么走的?
shiro.ini文件修改前:
[users]admin=hello,member,deptmldn=java,dept,emp[roles]member=member:add,member:edit,member:removedept=dept:add.dept:edit,dept:listemp=emp:*
shiro.ini文件修改后:
[main]jdbcRealm=cn.mldn.realm.MyRealmsecurityManager.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);