Merge pull request #3020 from realityforge/FilterSessionStore_getDateHeader

KEYCLOAK-3308: Return -1 from getDateHeader() when request is restored.
This commit is contained in:
Stian Thorgersen 2016-07-13 08:38:53 +02:00 committed by GitHub
commit f9235cb07d

View file

@ -192,7 +192,7 @@ public class FilterSessionStore implements AdapterSessionStore {
@Override @Override
public long getDateHeader(String name) { public long getDateHeader(String name) {
if (!needRequestRestore) return super.getDateHeader(name); if (!needRequestRestore) return super.getDateHeader(name);
throw new RuntimeException("This method is not supported in a restored authenticated request"); return -1;
} }
@Override @Override