Fix Tomcat compatibility issue where HttpSession unavailable during "logoff". Thanks to Aaron Tang.
This commit is contained in:
@@ -270,7 +270,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
|
||||
}
|
||||
|
||||
public boolean isRequestedSessionIdValid() {
|
||||
throw new UnsupportedOperationException("mock method not implemented");
|
||||
return true;
|
||||
}
|
||||
|
||||
public void setScheme(String scheme) {
|
||||
|
||||
Reference in New Issue
Block a user