Class ComponentConfig
java.lang.Object
org.pac4j.springframework.component.ComponentConfig
The configuration of the pac4j components.
- Since:
- 3.2.0
- Author:
- Jerome Leleu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.pac4j.core.profile.ProfileManagerRetrieve the current profile manager.org.pac4j.core.context.session.SessionStoreRetrieve the current session store.org.pac4j.jee.context.JEEContextRetrieve the current web context.
-
Field Details
-
request
@Autowired protected jakarta.servlet.http.HttpServletRequest requestThe HTTP request. -
response
@Autowired protected jakarta.servlet.http.HttpServletResponse responseThe HTTP response. -
config
@Autowired(required=false) protected org.pac4j.core.config.Config configThe security config.
-
-
Constructor Details
-
ComponentConfig
public ComponentConfig()
-
-
Method Details
-
getSessionStore
@Bean @RequestScope public org.pac4j.core.context.session.SessionStore getSessionStore()Retrieve the current session store.- Returns:
- the session store
-
getWebContext
@Bean @RequestScope public org.pac4j.jee.context.JEEContext getWebContext()Retrieve the current web context.- Returns:
- the web context
-
getProfileManager
@Bean @RequestScope public org.pac4j.core.profile.ProfileManager getProfileManager()Retrieve the current profile manager.- Returns:
- the profile manager
-