public class SaBeanInject
extends java.lang.Object
| 构造器和说明 |
|---|
SaBeanInject() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setConfig(SaTokenConfig saTokenConfig)
注入配置Bean
|
void |
setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
利用自动注入特性,获取Spring框架内部使用的路由匹配器
|
void |
setSaIdTemplate(SaIdTemplate saIdTemplate)
注入 Sa-Id-Token 模块 Bean
|
void |
setSaSsoTemplate(SaBasicTemplate saBasicTemplate)
注入 Sa-Token Http Basic 认证模块
|
void |
setSaSsoTemplate(SaSsoTemplate saSsoTemplate)
注入 Sa-Token-SSO 单点登录模块 Bean
|
void |
setSaTemp(SaTempInterface saTemp)
注入临时令牌验证模块 Bean
|
void |
setSaTokenAction(SaTokenAction saTokenAction)
注入框架行为Bean
|
void |
setSaTokenContext(SaTokenContext saTokenContext)
注入上下文Bean
|
void |
setSaTokenContext(SaTokenSecondContextCreator saTokenSecondContextCreator)
注入二级上下文Bean
|
void |
setSaTokenDao(SaTokenDao saTokenDao)
注入持久化Bean
|
void |
setSaTokenListener(SaTokenListener saTokenListener)
注入侦听器Bean
|
void |
setStpInterface(StpInterface stpInterface)
注入权限认证Bean
|
void |
setStpLogic(StpLogic stpLogic)
注入自定义的 StpLogic
|
@Autowired(required=false) public void setConfig(SaTokenConfig saTokenConfig)
saTokenConfig - 配置对象@Autowired(required=false) public void setSaTokenDao(SaTokenDao saTokenDao)
saTokenDao - SaTokenDao对象@Autowired(required=false) public void setStpInterface(StpInterface stpInterface)
stpInterface - StpInterface对象@Autowired(required=false) public void setSaTokenAction(SaTokenAction saTokenAction)
saTokenAction - SaTokenAction对象@Autowired(required=false) public void setSaTokenContext(SaTokenContext saTokenContext)
saTokenContext - SaTokenContext对象@Autowired(required=false) public void setSaTokenContext(SaTokenSecondContextCreator saTokenSecondContextCreator)
saTokenSecondContextCreator - 二级上下文创建器@Autowired(required=false) public void setSaTokenListener(SaTokenListener saTokenListener)
saTokenListener - saTokenListener对象@Autowired(required=false) public void setSaTemp(SaTempInterface saTemp)
saTemp - saTemp对象@Autowired(required=false) public void setSaIdTemplate(SaIdTemplate saIdTemplate)
saIdTemplate - saIdTemplate对象@Autowired(required=false) public void setSaSsoTemplate(SaBasicTemplate saBasicTemplate)
saBasicTemplate - saBasicTemplate对象@Autowired(required=false) public void setSaSsoTemplate(SaSsoTemplate saSsoTemplate)
saSsoTemplate - saSsoTemplate对象@Autowired(required=false) public void setStpLogic(StpLogic stpLogic)
stpLogic - /@Autowired(required=false) @Qualifier(value="mvcPathMatcher") public void setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
pathMatcher - 要设置的 pathMatcherCopyright © 2022. All Rights Reserved.