@Configuration public class ShiroWebConfiguration extends AbstractShiroWebConfiguration
rememberMeCookieDomain, rememberMeCookieMaxAge, rememberMeCookieName, rememberMeCookiePath, rememberMeCookieSecure, sessionIdCookieDomain, sessionIdCookieEnabled, sessionIdCookieMaxAge, sessionIdCookieName, sessionIdCookiePath, sessionIdCookieSecure, sessionIdUrlRewritingEnabled, useNativeSessionManager
cacheManager, eventBus, permissionResolver, rolePermissionResolver, sessionManagerDeleteInvalidSessions
Constructor and Description |
---|
ShiroWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected AuthenticationStrategy |
authenticationStrategy() |
protected Authenticator |
authenticator() |
protected Authorizer |
authorizer() |
protected Cookie |
rememberMeCookieTemplate() |
protected RememberMeManager |
rememberMeManager() |
protected SessionsSecurityManager |
securityManager(List<Realm> realms) |
protected Cookie |
sessionCookieTemplate() |
protected SessionDAO |
sessionDAO() |
protected SessionFactory |
sessionFactory() |
protected SessionManager |
sessionManager() |
protected SessionStorageEvaluator |
sessionStorageEvaluator() |
protected ShiroFilterChainDefinition |
shiroFilterChainDefinition() |
protected SubjectDAO |
subjectDAO() |
protected SubjectFactory |
subjectFactory() |
buildCookie, createSecurityManager, nativeSessionManager
iniRealmFromLocation
public ShiroWebConfiguration()
@Bean protected SubjectDAO subjectDAO()
subjectDAO
in class AbstractShiroConfiguration
@Bean protected SessionStorageEvaluator sessionStorageEvaluator()
sessionStorageEvaluator
in class AbstractShiroWebConfiguration
@Bean protected SessionFactory sessionFactory()
sessionFactory
in class AbstractShiroConfiguration
@Bean protected SessionDAO sessionDAO()
sessionDAO
in class AbstractShiroConfiguration
@Bean(name="sessionCookieTemplate") protected Cookie sessionCookieTemplate()
sessionCookieTemplate
in class AbstractShiroWebConfiguration
@Bean(name="rememberMeCookieTemplate") protected Cookie rememberMeCookieTemplate()
rememberMeCookieTemplate
in class AbstractShiroWebConfiguration
@Bean protected RememberMeManager rememberMeManager()
rememberMeManager
in class AbstractShiroWebConfiguration
@Bean protected SubjectFactory subjectFactory()
subjectFactory
in class AbstractShiroWebConfiguration
@Bean protected Authorizer authorizer()
authorizer
in class AbstractShiroConfiguration
@Bean protected AuthenticationStrategy authenticationStrategy()
authenticationStrategy
in class AbstractShiroConfiguration
@Bean protected Authenticator authenticator()
authenticator
in class AbstractShiroConfiguration
@Bean protected SessionManager sessionManager()
sessionManager
in class AbstractShiroWebConfiguration
@Bean protected SessionsSecurityManager securityManager(List<Realm> realms)
securityManager
in class AbstractShiroConfiguration
@Bean protected ShiroFilterChainDefinition shiroFilterChainDefinition()
shiroFilterChainDefinition
in class AbstractShiroWebConfiguration
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.