Class ComponentConfig
- java.lang.Object
-
- org.pac4j.springframework.component.ComponentConfig
-
@Configuration public class ComponentConfig extends Object
The configuration of the pac4j components.- Since:
- 3.2.0
- Author:
- Jerome Leleu
-
-
Field Summary
Fields Modifier and Type Field Description protected org.pac4j.core.config.Configconfigprotected javax.servlet.http.HttpServletRequestrequestprotected javax.servlet.http.HttpServletResponseresponseprotected org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>sessionStore
-
Constructor Summary
Constructors Constructor Description ComponentConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pac4j.core.profile.ProfileManagergetProfileManager()protected org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>getSessionStore()org.pac4j.core.context.JEEContextgetWebContext()
-
-
-
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
-
-
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()
-
-