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 AuthenticationStrategy
authenticationStrategy()
protected Authenticator
authenticator()
protected Authorizer
authorizer()
protected Cookie
rememberMeCookieTemplate()
protected RememberMeManager
rememberMeManager()
protected SessionsSecurityManager
securityManager(List<Realm> realms)
protected Cookie
sessionCookieTemplate()
protected SessionDAO
sessionDAO()
protected SessionFactory
sessionFactory()
protected SessionManager
sessionManager()
protected SessionStorageEvaluator
sessionStorageEvaluator()
protected ShiroFilterChainDefinition
shiroFilterChainDefinition()
protected ShiroUrlPathHelper
shiroUrlPathHelper()
protected SubjectDAO
subjectDAO()
protected 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
-
-
-
-
Constructor Detail
-
ShiroWebConfiguration
public ShiroWebConfiguration()
-
-
Method Detail
-
subjectDAO
@Bean protected SubjectDAO subjectDAO()
- Overrides:
subjectDAO
in classAbstractShiroConfiguration
-
sessionStorageEvaluator
@Bean protected SessionStorageEvaluator sessionStorageEvaluator()
- Overrides:
sessionStorageEvaluator
in classAbstractShiroWebConfiguration
-
sessionFactory
@Bean protected SessionFactory sessionFactory()
- Overrides:
sessionFactory
in classAbstractShiroConfiguration
-
sessionDAO
@Bean protected SessionDAO sessionDAO()
- Overrides:
sessionDAO
in classAbstractShiroConfiguration
-
sessionCookieTemplate
@Bean(name="sessionCookieTemplate") protected Cookie sessionCookieTemplate()
- Overrides:
sessionCookieTemplate
in classAbstractShiroWebConfiguration
-
rememberMeCookieTemplate
@Bean(name="rememberMeCookieTemplate") protected Cookie rememberMeCookieTemplate()
- Overrides:
rememberMeCookieTemplate
in classAbstractShiroWebConfiguration
-
rememberMeManager
@Bean protected RememberMeManager rememberMeManager()
- Overrides:
rememberMeManager
in classAbstractShiroWebConfiguration
-
subjectFactory
@Bean protected SubjectFactory subjectFactory()
- Overrides:
subjectFactory
in classAbstractShiroWebConfiguration
-
authorizer
@Bean protected Authorizer authorizer()
- Overrides:
authorizer
in classAbstractShiroConfiguration
-
authenticationStrategy
@Bean protected AuthenticationStrategy authenticationStrategy()
- Overrides:
authenticationStrategy
in classAbstractShiroConfiguration
-
authenticator
@Bean protected Authenticator authenticator()
- Overrides:
authenticator
in classAbstractShiroConfiguration
-
sessionManager
@Bean protected SessionManager sessionManager()
- Overrides:
sessionManager
in classAbstractShiroWebConfiguration
-
securityManager
@Bean protected SessionsSecurityManager securityManager(List<Realm> realms)
- Overrides:
securityManager
in classAbstractShiroConfiguration
-
shiroFilterChainDefinition
@Bean protected ShiroFilterChainDefinition shiroFilterChainDefinition()
- Overrides:
shiroFilterChainDefinition
in classAbstractShiroWebConfiguration
-
shiroUrlPathHelper
@Bean protected ShiroUrlPathHelper shiroUrlPathHelper()
- Overrides:
shiroUrlPathHelper
in classAbstractShiroWebConfiguration
-
-