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
-
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.mgt.RememberMeManager
protected org.apache.shiro.mgt.SessionsSecurityManager
securityManager
(List<org.apache.shiro.realm.Realm> realms) 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 org.apache.shiro.mgt.SubjectDAO
protected org.apache.shiro.mgt.SubjectFactory
Methods inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
createSecurityManager, iniRealmFromLocation
-
Constructor Details
-
ShiroConfiguration
public ShiroConfiguration()
-
-
Method Details
-
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
-