Class ShiroWebConfiguration
- java.lang.Object
-
- org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
@Configuration public class ShiroWebConfiguration extends 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
-
Fields inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
cacheManager, eventBus, permissionResolver, rolePermissionResolver, sessionManagerDeleteInvalidSessions
-
-
Constructor Summary
Constructors Constructor Description ShiroWebConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.shiro.authc.pam.AuthenticationStrategy
authenticationStrategy()
protected org.apache.shiro.authc.Authenticator
authenticator()
protected org.apache.shiro.authz.Authorizer
authorizer()
protected org.apache.shiro.web.servlet.Cookie
rememberMeCookieTemplate()
protected org.apache.shiro.mgt.RememberMeManager
rememberMeManager()
protected org.apache.shiro.mgt.SessionsSecurityManager
securityManager(List<org.apache.shiro.realm.Realm> realms)
protected org.apache.shiro.web.servlet.Cookie
sessionCookieTemplate()
protected org.apache.shiro.session.mgt.eis.SessionDAO
sessionDAO()
protected org.apache.shiro.session.mgt.SessionFactory
sessionFactory()
protected org.apache.shiro.session.mgt.SessionManager
sessionManager()
protected org.apache.shiro.mgt.SessionStorageEvaluator
sessionStorageEvaluator()
protected ShiroFilterChainDefinition
shiroFilterChainDefinition()
protected ShiroUrlPathHelper
shiroUrlPathHelper()
protected org.apache.shiro.mgt.SubjectDAO
subjectDAO()
protected org.apache.shiro.mgt.SubjectFactory
subjectFactory()
-
Methods inherited from class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
buildCookie, buildCookie, createSecurityManager, nativeSessionManager
-
Methods inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
iniRealmFromLocation
-
-
-
-
Method Detail
-
subjectDAO
@Bean protected org.apache.shiro.mgt.SubjectDAO subjectDAO()
- Overrides:
subjectDAO
in classAbstractShiroConfiguration
-
sessionStorageEvaluator
@Bean protected org.apache.shiro.mgt.SessionStorageEvaluator sessionStorageEvaluator()
- Overrides:
sessionStorageEvaluator
in classAbstractShiroWebConfiguration
-
sessionFactory
@Bean protected org.apache.shiro.session.mgt.SessionFactory sessionFactory()
- Overrides:
sessionFactory
in classAbstractShiroConfiguration
-
sessionDAO
@Bean protected org.apache.shiro.session.mgt.eis.SessionDAO sessionDAO()
- Overrides:
sessionDAO
in classAbstractShiroConfiguration
-
sessionCookieTemplate
@Bean(name="sessionCookieTemplate") protected org.apache.shiro.web.servlet.Cookie sessionCookieTemplate()
- Overrides:
sessionCookieTemplate
in classAbstractShiroWebConfiguration
-
rememberMeCookieTemplate
@Bean(name="rememberMeCookieTemplate") protected org.apache.shiro.web.servlet.Cookie rememberMeCookieTemplate()
- Overrides:
rememberMeCookieTemplate
in classAbstractShiroWebConfiguration
-
rememberMeManager
@Bean protected org.apache.shiro.mgt.RememberMeManager rememberMeManager()
- Overrides:
rememberMeManager
in classAbstractShiroWebConfiguration
-
subjectFactory
@Bean protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
- Overrides:
subjectFactory
in classAbstractShiroWebConfiguration
-
authorizer
@Bean protected org.apache.shiro.authz.Authorizer authorizer()
- Overrides:
authorizer
in classAbstractShiroConfiguration
-
authenticationStrategy
@Bean protected org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy()
- Overrides:
authenticationStrategy
in classAbstractShiroConfiguration
-
authenticator
@Bean protected org.apache.shiro.authc.Authenticator authenticator()
- Overrides:
authenticator
in classAbstractShiroConfiguration
-
sessionManager
@Bean protected org.apache.shiro.session.mgt.SessionManager sessionManager()
- Overrides:
sessionManager
in classAbstractShiroWebConfiguration
-
securityManager
@Bean protected org.apache.shiro.mgt.SessionsSecurityManager securityManager(List<org.apache.shiro.realm.Realm> realms)
- Overrides:
securityManager
in classAbstractShiroConfiguration
-
shiroFilterChainDefinition
@Bean protected ShiroFilterChainDefinition shiroFilterChainDefinition()
- Overrides:
shiroFilterChainDefinition
in classAbstractShiroWebConfiguration
-
shiroUrlPathHelper
@Bean protected ShiroUrlPathHelper shiroUrlPathHelper()
- Overrides:
shiroUrlPathHelper
in classAbstractShiroWebConfiguration
-
-