diff --git a/adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java b/adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java index 5d1eb51162..243ab3353d 100755 --- a/adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java +++ b/adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java @@ -192,7 +192,7 @@ public class FilterSessionStore implements AdapterSessionStore { @Override public long getDateHeader(String name) { if (!needRequestRestore) return super.getDateHeader(name); - throw new RuntimeException("This method is not supported in a restored authenticated request"); + return -1; } @Override