You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Invalid session" exception when clicking the logout button of the app during Browserless testing #115
This is a HttpSessionSecurityContextRepository. That method has a null responseWrapper and calls saveContextInHttpSession, which calls removeContextFromSession. That method calls session.setAttribute(this.springSecurityContextKey, context), which fails because we just invalidated the HttpSession.
So I can step through to the error, but I don't know why the error.
SpringSecurity is not my strength, so apologies. I don't even know if I am dealing with a Spring test or a Vaadin test issue.
I am not using @WithMockUser. The @Configuration class includes @EnableWebSecurity.
I am not seeing any logout tests in the Browserless unit test suite.
Note: I believe I can try-catch-ignore the Exception and continue without problems.
Activity
fix: getSession(false) returns null after session invalidation (#115) (…