Package org.apache.shiro.spring.config
Class ShiroConfiguration
- java.lang.Object
-
- org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- org.apache.shiro.spring.config.ShiroConfiguration
-
@Configuration @Import(ShiroBeanConfiguration.class) public class ShiroConfiguration extends AbstractShiroConfiguration
- Since:
- 1.4.0
-
-
Field Summary
-
Fields inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
cacheManager, eventBus, permissionResolver, rolePermissionResolver, sessionManagerDeleteInvalidSessions
-
-
Constructor Summary
Constructors Constructor Description ShiroConfiguration()
-
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.mgt.RememberMeManager
rememberMeManager()
protected org.apache.shiro.mgt.SessionsSecurityManager
securityManager(List<org.apache.shiro.realm.Realm> realms)
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 org.apache.shiro.mgt.SubjectDAO
subjectDAO()
protected org.apache.shiro.mgt.SubjectFactory
subjectFactory()
-
Methods inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
createSecurityManager, iniRealmFromLocation
-
-
-
-
Method Detail
-
securityManager
@Bean protected org.apache.shiro.mgt.SessionsSecurityManager securityManager(List<org.apache.shiro.realm.Realm> realms)
- Overrides:
securityManager
in classAbstractShiroConfiguration
-
sessionManager
@Bean protected org.apache.shiro.session.mgt.SessionManager sessionManager()
- Overrides:
sessionManager
in classAbstractShiroConfiguration
-
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 classAbstractShiroConfiguration
-
subjectFactory
@Bean protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
- Overrides:
subjectFactory
in classAbstractShiroConfiguration
-
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
-
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
-
rememberMeManager
@Bean protected org.apache.shiro.mgt.RememberMeManager rememberMeManager()
- Overrides:
rememberMeManager
in classAbstractShiroConfiguration
-
-