Class ComponentConfig


  • @Configuration
    public class ComponentConfig
    extends Object
    The configuration of the pac4j components.
    Since:
    3.2.0
    Author:
    Jerome Leleu
    • Field Detail

      • request

        @Autowired
        protected javax.servlet.http.HttpServletRequest request
      • response

        @Autowired
        protected javax.servlet.http.HttpServletResponse response
      • config

        @Autowired(required=false)
        protected org.pac4j.core.config.Config config
      • sessionStore

        @Autowired(required=false)
        protected org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext> sessionStore
    • Constructor Detail

      • ComponentConfig

        public ComponentConfig()
    • Method Detail

      • getSessionStore

        protected org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext> getSessionStore()
      • getWebContext

        @Bean
        @RequestScope
        public org.pac4j.core.context.JEEContext getWebContext()
      • getProfileManager

        @Bean
        @RequestScope
        public org.pac4j.core.profile.ProfileManager getProfileManager()