}
request.setServletPath(logoutUrl);
// Create the LogoutFilter
AuthFilter filter = new AuthFilter();
MockFilterConfig filterConfig = new MockFilterConfig();
filterConfig.addInitParameter("securityContextStorageMethod", isSessionStorage ? "session" : "cookie");
filterConfig.addInitParameter("logoutFromDatabaseDotCom", String.valueOf(logoutFromSFDC));
filterConfig.addInitParameter("logoutUrl", logoutUrl);
filterConfig.addInitParameter("connectionName", "CONNURLENVVAR");
filter.init(filterConfig);
if (!isSessionStorage) {
MockHttpServletResponse tempMockResponse = new MockHttpServletResponse();
SecurityContextService securityContextService = filter.getSecurityContextService();