Skip to content

Commit 673af89

Browse files
committed
Prevent warning message by Keycloak adapter
Without the property the filters cannot be set.
1 parent 185101f commit 673af89

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/eu/openanalytics/containerproxy/ContainerProxyApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ public static Properties getDefaultProperties() {
276276

277277
private static void setDefaultProperties(SpringApplication app) {
278278
app.setDefaultProperties(getDefaultProperties());
279+
// See: https://github.com/keycloak/keycloak/pull/7053
280+
System.setProperty("jdk.serialSetFilterAfterRead", "true");
279281
}
280282

281283
}

0 commit comments

Comments
 (0)