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 AuthenticationStrategy
authenticationStrategy()
protected Authenticator
authenticator()
protected Authorizer
authorizer()
protected RememberMeManager
rememberMeManager()
protected SessionsSecurityManager
securityManager(List<Realm> realms)
protected SessionDAO
sessionDAO()
protected SessionFactory
sessionFactory()
protected SessionManager
sessionManager()
protected SessionStorageEvaluator
sessionStorageEvaluator()
protected SubjectDAO
subjectDAO()
protected SubjectFactory
subjectFactory()
-
Methods inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration
createSecurityManager, iniRealmFromLocation
-
-
-
-
Constructor Detail
-
ShiroConfiguration
public ShiroConfiguration()
-
-
Method Detail
-
securityManager
@Bean protected SessionsSecurityManager securityManager(List<Realm> realms)
- Overrides:
securityManager
in classAbstractShiroConfiguration
-
sessionManager
@Bean protected SessionManager sessionManager()
- Overrides:
sessionManager
in classAbstractShiroConfiguration
-
subjectDAO
@Bean protected SubjectDAO subjectDAO()
- Overrides:
subjectDAO
in classAbstractShiroConfiguration
-
sessionStorageEvaluator
@Bean protected SessionStorageEvaluator sessionStorageEvaluator()
- Overrides:
sessionStorageEvaluator
in classAbstractShiroConfiguration
-
subjectFactory
@Bean protected SubjectFactory subjectFactory()
- Overrides:
subjectFactory
in classAbstractShiroConfiguration
-
sessionFactory
@Bean protected SessionFactory sessionFactory()
- Overrides:
sessionFactory
in classAbstractShiroConfiguration
-
sessionDAO
@Bean protected SessionDAO sessionDAO()
- Overrides:
sessionDAO
in classAbstractShiroConfiguration
-
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
-
rememberMeManager
@Bean protected RememberMeManager rememberMeManager()
- Overrides:
rememberMeManager
in classAbstractShiroConfiguration
-
-