parent
5daddea006
commit
0de72105d7
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,9 @@ http-enabled=false
|
|||
# Metrics and healthcheck are disabled by default
|
||||
metrics-enabled=false
|
||||
|
||||
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
|
||||
spi-sticky-session-encoder-infinispan-should-attach-route=false
|
||||
|
||||
# Default, and insecure, and non-production grade configuration for the development profile
|
||||
%dev.http-enabled=true
|
||||
%dev.hostname-strict=false
|
||||
|
|
|
@ -398,6 +398,9 @@ public class ConfigurationTest {
|
|||
|
||||
Environment.setProfile("prod");
|
||||
assertEquals("true", createConfig().getConfigValue("kc.hostname-strict").getValue());
|
||||
|
||||
Environment.setProfile("prod");
|
||||
assertEquals("false", createConfig().getConfigValue("kc.spi-sticky-session-encoder-infinispan-should-attach-route").getValue());
|
||||
}
|
||||
|
||||
private Config.Scope initConfig(String... scope) {
|
||||
|
|
Loading…
Reference in a new issue