Class ShiroWebAutoConfiguration

    • Field Summary

      • Fields inherited from class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration

        rememberMeCookieDomain, rememberMeCookieMaxAge, rememberMeCookieName, rememberMeCookiePath, rememberMeCookieSecure, rememberMeSameSite, sessionIdCookieDomain, sessionIdCookieEnabled, sessionIdCookieMaxAge, sessionIdCookieName, sessionIdCookiePath, sessionIdCookieSameSite, sessionIdCookieSecure, sessionIdUrlRewritingEnabled, useNativeSessionManager
      • Fields inherited from class org.apache.shiro.spring.config.AbstractShiroConfiguration

        cacheManager, eventBus, permissionResolver, rolePermissionResolver, sessionManagerDeleteInvalidSessions
    • Constructor Detail

      • ShiroWebAutoConfiguration

        public ShiroWebAutoConfiguration()
    • Method Detail

      • authenticationStrategy

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.authc.pam.AuthenticationStrategy authenticationStrategy()
        Overrides:
        authenticationStrategy in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • authenticator

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.authc.Authenticator authenticator()
        Overrides:
        authenticator in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • authorizer

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.authz.Authorizer authorizer()
        Overrides:
        authorizer in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • subjectDAO

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.mgt.SubjectDAO subjectDAO()
        Overrides:
        subjectDAO in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • sessionStorageEvaluator

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.mgt.SessionStorageEvaluator sessionStorageEvaluator()
        Overrides:
        sessionStorageEvaluator in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • subjectFactory

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.mgt.SubjectFactory subjectFactory()
        Overrides:
        subjectFactory in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • sessionFactory

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.session.mgt.SessionFactory sessionFactory()
        Overrides:
        sessionFactory in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • sessionDAO

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.session.mgt.eis.SessionDAO sessionDAO()
        Overrides:
        sessionDAO in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • sessionManager

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.session.mgt.SessionManager sessionManager()
        Overrides:
        sessionManager in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • securityManager

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.mgt.SessionsSecurityManager securityManager​(List<org.apache.shiro.realm.Realm> realms)
        Overrides:
        securityManager in class org.apache.shiro.spring.config.AbstractShiroConfiguration
      • sessionCookieTemplate

        @Bean
        @ConditionalOnMissingBean(name="sessionCookieTemplate")
        protected org.apache.shiro.web.servlet.Cookie sessionCookieTemplate()
        Overrides:
        sessionCookieTemplate in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • rememberMeManager

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.mgt.RememberMeManager rememberMeManager()
        Overrides:
        rememberMeManager in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • rememberMeCookieTemplate

        @Bean
        @ConditionalOnMissingBean(name="rememberMeCookieTemplate")
        protected org.apache.shiro.web.servlet.Cookie rememberMeCookieTemplate()
        Overrides:
        rememberMeCookieTemplate in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • shiroFilterChainDefinition

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.spring.web.config.ShiroFilterChainDefinition shiroFilterChainDefinition()
        Overrides:
        shiroFilterChainDefinition in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
      • shiroUrlPathHelper

        @Bean
        @ConditionalOnMissingBean
        protected org.apache.shiro.spring.web.ShiroUrlPathHelper shiroUrlPathHelper()
        Overrides:
        shiroUrlPathHelper in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration