Class ShiroWebAutoConfiguration
- java.lang.Object
-
- org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
@Configuration @AutoConfigureBefore(ShiroAutoConfiguration.class) @AutoConfigureAfter(ShiroWebMvcAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(name="shiro.web.enabled", matchIfMissing=true) public class ShiroWebAutoConfiguration extends org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
- Since:
- 1.4.0
-
-
Field Summary
-
Fields inherited from class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
rememberMeCookieDomain, rememberMeCookieMaxAge, rememberMeCookieName, rememberMeCookiePath, rememberMeCookieSecure, rememberMeSameSite, sessionIdCookieDomain, sessionIdCookieEnabled, sessionIdCookieMaxAge, sessionIdCookieName, sessionIdCookiePath, sessionIdCookieSameSite, sessionIdCookieSecure, sessionIdUrlRewritingEnabled, useNativeSessionManager
-
-
Constructor Summary
Constructors Constructor Description ShiroWebAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.shiro.authc.pam.AuthenticationStrategyauthenticationStrategy()protected org.apache.shiro.authc.Authenticatorauthenticator()protected org.apache.shiro.authz.Authorizerauthorizer()protected org.apache.shiro.web.servlet.CookierememberMeCookieTemplate()protected org.apache.shiro.mgt.RememberMeManagerrememberMeManager()protected org.apache.shiro.mgt.SessionsSecurityManagersecurityManager(List<org.apache.shiro.realm.Realm> realms)protected org.apache.shiro.web.servlet.CookiesessionCookieTemplate()protected org.apache.shiro.session.mgt.eis.SessionDAOsessionDAO()protected org.apache.shiro.session.mgt.SessionFactorysessionFactory()protected org.apache.shiro.session.mgt.SessionManagersessionManager()protected org.apache.shiro.mgt.SessionStorageEvaluatorsessionStorageEvaluator()protected org.apache.shiro.spring.web.config.ShiroFilterChainDefinitionshiroFilterChainDefinition()protected org.apache.shiro.spring.web.ShiroUrlPathHelpershiroUrlPathHelper()protected org.apache.shiro.mgt.SubjectDAOsubjectDAO()protected org.apache.shiro.mgt.SubjectFactorysubjectFactory()-
Methods inherited from class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
buildCookie, buildCookie, createSecurityManager, nativeSessionManager
-
-
-
-
Method Detail
-
authenticationStrategy
@Bean @ConditionalOnMissingBean protected org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy()
- Overrides:
authenticationStrategyin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
authenticator
@Bean @ConditionalOnMissingBean protected org.apache.shiro.authc.Authenticator authenticator()
- Overrides:
authenticatorin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
authorizer
@Bean @ConditionalOnMissingBean protected org.apache.shiro.authz.Authorizer authorizer()
- Overrides:
authorizerin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
subjectDAO
@Bean @ConditionalOnMissingBean protected org.apache.shiro.mgt.SubjectDAO subjectDAO()
- Overrides:
subjectDAOin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
sessionStorageEvaluator
@Bean @ConditionalOnMissingBean protected org.apache.shiro.mgt.SessionStorageEvaluator sessionStorageEvaluator()
- Overrides:
sessionStorageEvaluatorin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
subjectFactory
@Bean @ConditionalOnMissingBean protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
- Overrides:
subjectFactoryin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
sessionFactory
@Bean @ConditionalOnMissingBean protected org.apache.shiro.session.mgt.SessionFactory sessionFactory()
- Overrides:
sessionFactoryin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
sessionDAO
@Bean @ConditionalOnMissingBean protected org.apache.shiro.session.mgt.eis.SessionDAO sessionDAO()
- Overrides:
sessionDAOin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
sessionManager
@Bean @ConditionalOnMissingBean protected org.apache.shiro.session.mgt.SessionManager sessionManager()
- Overrides:
sessionManagerin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
securityManager
@Bean @ConditionalOnMissingBean protected org.apache.shiro.mgt.SessionsSecurityManager securityManager(List<org.apache.shiro.realm.Realm> realms)
- Overrides:
securityManagerin classorg.apache.shiro.spring.config.AbstractShiroConfiguration
-
sessionCookieTemplate
@Bean @ConditionalOnMissingBean(name="sessionCookieTemplate") protected org.apache.shiro.web.servlet.Cookie sessionCookieTemplate()
- Overrides:
sessionCookieTemplatein classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
rememberMeManager
@Bean @ConditionalOnMissingBean protected org.apache.shiro.mgt.RememberMeManager rememberMeManager()
- Overrides:
rememberMeManagerin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
rememberMeCookieTemplate
@Bean @ConditionalOnMissingBean(name="rememberMeCookieTemplate") protected org.apache.shiro.web.servlet.Cookie rememberMeCookieTemplate()
- Overrides:
rememberMeCookieTemplatein classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
shiroFilterChainDefinition
@Bean @ConditionalOnMissingBean protected org.apache.shiro.spring.web.config.ShiroFilterChainDefinition shiroFilterChainDefinition()
- Overrides:
shiroFilterChainDefinitionin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
shiroUrlPathHelper
@Bean @ConditionalOnMissingBean protected org.apache.shiro.spring.web.ShiroUrlPathHelper shiroUrlPathHelper()
- Overrides:
shiroUrlPathHelperin classorg.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
-