super.configureSessionCookie(cookie);
PwcWebModule wm = (PwcWebModule) getContext();
WebSessionCookieConfig cookieConfig = (WebSessionCookieConfig)wm.getSessionCookieConfig();
CookieSecureType type = cookieConfig.getSecure();
if (CookieSecureType.TRUE == type) {
cookie.setSecure(true);
} else if (CookieSecureType.FALSE == type) {
cookie.setSecure(false);
} else {