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
if (sameSiteCookiePolicy.equalsIgnoreCase("none") && !secureCookiesEnabled) {
149
151
log.warn("WARNING: Invalid configuration detected: same-site-cookie policy is set to None, but secure-cookies are not enabled. Secure cookies must be enabled when using None as same-site-cookie policy ");
150
152
}
153
+
154
+
155
+
if (environment.getProperty("proxy.store-mode", "").equalsIgnoreCase("Redis")) {
156
+
if (!environment.getProperty("spring.session.store-type", "").equalsIgnoreCase("redis")) {
157
+
// running in HA mode, but not using Redis sessions
158
+
log.warn("WARNING: Invalid configuration detected: store-mode is set to Redis (i.e. High-Availability mode), but you are not using Redis for user sessions!");
159
+
}
160
+
if (environment.getProperty(PROPERTY_STOP_PROXIES_ON_SHUTDOWN, Boolean.class, true)) {
161
+
// running in HA mode, but proxies are removed when shutting down
162
+
log.warn("WARNING: Invalid configuration detected: store-mode is set to Redis (i.e. High-Availability mode), but proxies are stopped at shutdown of server!");
0 commit comments