@Configuration
@AutoConfigureBefore(name={"org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration","org.apache.shiro.spring.boot.ShiroBizWebAutoConfiguration"})
@ConditionalOnProperty(prefix="shiro.jwt",
value="enabled",
havingValue="true")
@EnableConfigurationProperties(value={org.apache.shiro.spring.boot.ShiroBizProperties.class,ShiroJwtProperties.class})
public class ShiroJwtWebAutoConfiguration
extends org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
implements org.springframework.context.ApplicationContextAware
rememberMeCookieDomain, rememberMeCookieMaxAge, rememberMeCookieName, rememberMeCookiePath, rememberMeCookieSecure, sessionIdCookieDomain, sessionIdCookieEnabled, sessionIdCookieMaxAge, sessionIdCookieName, sessionIdCookiePath, sessionIdCookieSecure, sessionIdUrlRewritingEnabled, useNativeSessionManager| 构造器和说明 |
|---|
ShiroJwtWebAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected org.apache.shiro.mgt.SubjectFactory |
subjectFactory() |
buildCookie, createSecurityManager, nativeSessionManager, rememberMeCookieTemplate, rememberMeManager, sessionCookieTemplate, sessionManager, sessionStorageEvaluator, shiroFilterChainDefinition@Bean protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
subjectFactory 在类中 org.apache.shiro.spring.web.config.AbstractShiroWebConfigurationpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2018. All rights reserved.