Store Principal Name Index in the Hazelcast Session delta

Issue gh-1801
This commit is contained in:
slondono
2021-03-14 11:13:45 -05:00
committed by Eleftheria Stein
parent 378ba6db2c
commit 661ecaf371

View File

@@ -441,6 +441,7 @@ public class Hazelcast4IndexedSessionRepository
.resolveIndexesFor(this);
String principal = (attributeValue != null) ? indexes.get(PRINCIPAL_NAME_INDEX_NAME) : null;
this.delegate.setAttribute(PRINCIPAL_NAME_INDEX_NAME, principal);
this.delta.put(PRINCIPAL_NAME_INDEX_NAME, principal);
}
flushImmediateIfNecessary();
}