INNER CODE UNIT · Java
getSessionStore
pac4j/spring-webmvc-pac4j · src/main/java/org/pac4j/springframework/component/ComponentConfig.java:50
public SessionStore getSessionStore() {
FrameworkAdapter.INSTANCE.applyDefaultSettingsIfUndefined(config);
return config.getSessionStoreFactory().newSessionStore(new JEEFrameworkParameters(request, response));
}
/**
* Retrieve the current web context.
*
* @return the web context
*/
@Bean
@RequestScope
public JEEContext getWebContext() {
FrameworkAdapter.INSTANCE.applyDefaultSettingsIfUndefined(config);
return new JEEContext(request, response);
}