Invoke HttpSessionStrategy.onNewSession if session id changed
Fixes gh-154
This commit is contained in:
@@ -170,7 +170,7 @@ public class SessionRepositoryFilter<S extends ExpiringSession> extends OncePerR
|
||||
} else {
|
||||
S session = wrappedSession.session;
|
||||
sessionRepository.save(session);
|
||||
if(!requestedValidSession) {
|
||||
if(!requestedValidSession || !session.getId().equals(getRequestedSessionId())) {
|
||||
httpSessionStrategy.onNewSession(session, this, response);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user