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.AuthenticationStrategyauthenticationStrategy()protected org.apache.shiro.authc.Authenticatorauthenticator()protected org.apache.shiro.authz.Authorizerauthorizer()protected org.apache.shiro.mgt.RememberMeManagerrememberMeManager()protected org.apache.shiro.mgt.SessionsSecurityManagersecurityManager(List<org.apache.shiro.realm.Realm> realms)protected org.apache.shiro.session.mgt.eis.SessionDAOsessionDAO()protected org.apache.shiro.session.mgt.SessionFactorysessionFactory()protected org.apache.shiro.session.mgt.SessionManagersessionManager()protected org.apache.shiro.mgt.SessionStorageEvaluatorsessionStorageEvaluator()protected org.apache.shiro.mgt.SubjectDAOsubjectDAO()protected org.apache.shiro.mgt.SubjectFactorysubjectFactory()-
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:
securityManagerin classAbstractShiroConfiguration
-
sessionManager
@Bean protected org.apache.shiro.session.mgt.SessionManager sessionManager()
- Overrides:
sessionManagerin classAbstractShiroConfiguration
-
subjectDAO
@Bean protected org.apache.shiro.mgt.SubjectDAO subjectDAO()
- Overrides:
subjectDAOin classAbstractShiroConfiguration
-
sessionStorageEvaluator
@Bean protected org.apache.shiro.mgt.SessionStorageEvaluator sessionStorageEvaluator()
- Overrides:
sessionStorageEvaluatorin classAbstractShiroConfiguration
-
subjectFactory
@Bean protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
- Overrides:
subjectFactoryin classAbstractShiroConfiguration
-
sessionFactory
@Bean protected org.apache.shiro.session.mgt.SessionFactory sessionFactory()
- Overrides:
sessionFactoryin classAbstractShiroConfiguration
-
sessionDAO
@Bean protected org.apache.shiro.session.mgt.eis.SessionDAO sessionDAO()
- Overrides:
sessionDAOin classAbstractShiroConfiguration
-
authorizer
@Bean protected org.apache.shiro.authz.Authorizer authorizer()
- Overrides:
authorizerin classAbstractShiroConfiguration
-
authenticationStrategy
@Bean protected org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy()
- Overrides:
authenticationStrategyin classAbstractShiroConfiguration
-
authenticator
@Bean protected org.apache.shiro.authc.Authenticator authenticator()
- Overrides:
authenticatorin classAbstractShiroConfiguration
-
rememberMeManager
@Bean protected org.apache.shiro.mgt.RememberMeManager rememberMeManager()
- Overrides:
rememberMeManagerin classAbstractShiroConfiguration
-
-