aws-dynamodb-session-tomcat
aws-dynamodb-session-tomcat copied to clipboard
Infinite loop if HttpRequest.getSession(false) called during HttpSessionListener::sessionCreated()
public class MySessionListener implements HttpSessionListener {
@Override
public void sessionCreated(HttpSessionEvent se) {
((ServletRequestAttributes) RequestContextHolder
.getRequestAttributes()).getRequest().getSession(false);
}
This causes infinite loop since getSession(false) tries to create a new session instead of directly returning null.
This project has been archived. Please see the README.md for more detail on alternative projects.