shiro中用ini配置创建用户SecurityManager实例

1

 

2

 

 

3

 

 4

 

 

 

 

 

 5

 https://blog.csdn.net/ycd19880511/article/details/84697525            理解上面的方法

 

 

6给SecurityManager实例添加realm的方法位置(方法里面使用反射实现的赋值)

 

posted @ 2019-05-30 22:16  远方的人111  阅读(405)  评论(0)    收藏  举报