1. springboot下shiro的启动过程
2020-08-17 10:43:47 0 举报
springboot下shiro的启动过程
作者其他创作
大纲/内容
A3.3: createChain
A2.1
A1.1: init
A3.2: add
ShiroFilterFactoryBean
AbstractShiroFilter createInstance();init();getObject();
A3.1: createFilterChainManager
MyShiroRealm
doGetAuthorizationInfo();doGetAuthenticationInfo();
PathMatchingFilterChainResolver
FilterChainManager filterChainManager;PatternMatcher pathMatcher
SecurityManager
ShiroConfig
SecurityManager securityManager();MyShiroRealm myShiroRealm();public ShiroFilterFactoryBean shirFilter(SecurityManager securityManager)
DefaultWebSecurityManager
FilterChainResolver
DefaultFilteranonauthclogout...
A1.2: create Realm
FilterChainManager
filterChainDefinitionMap\"/**\": anon;\"api/**\": anon;....
AbstractShiroFilter
doFilterInternal();executeChain();getExecutionChain();
SpringBoot下Shiro的启动过程
SpringShiroFilter
A4: create resolver
DefaultFilterChainManager
0 条评论
下一页