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
- 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.shiro.authc.pam.AuthenticationStrategy
protected org.apache.shiro.authc.Authenticator
protected org.apache.shiro.authz.Authorizer
protected org.apache.shiro.web.servlet.Cookie
protected org.apache.shiro.mgt.RememberMeManager
protected org.apache.shiro.mgt.SessionsSecurityManager
securityManager
(List<org.apache.shiro.realm.Realm> realms) protected org.apache.shiro.web.servlet.Cookie
protected org.apache.shiro.session.mgt.eis.SessionDAO
protected org.apache.shiro.session.mgt.SessionFactory
protected org.apache.shiro.session.mgt.SessionManager
protected org.apache.shiro.mgt.SessionStorageEvaluator
protected ShiroFilterChainDefinition
protected ShiroUrlPathHelper
protected org.apache.shiro.mgt.SubjectDAO
protected org.apache.shiro.mgt.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 Details
-
ShiroWebConfiguration
public ShiroWebConfiguration()
-
-
Method Details
-
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
- Overrides:
shiroFilterChainDefinition
in classAbstractShiroWebConfiguration
-
shiroUrlPathHelper
- Overrides:
shiroUrlPathHelper
in classAbstractShiroWebConfiguration
-