Merge pull request #3020 from realityforge/FilterSessionStore_getDateHeader
KEYCLOAK-3308: Return -1 from getDateHeader() when request is restored.
This commit is contained in:
commit
f9235cb07d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue