-
Bug
-
Resolution: Done
-
Minor
-
7.1.0.DR11
Coverity static-analysis scan found getter is not synchronized, while setter is.
public SecurityIdentity getIdentity() { return this.entry.getCachedIdentity().getSecurityIdentity(); }
Current implementation is correct because in DefaultSingleSignOnEntry (currently only avalaible implementation of SingleSignOnEntry) cachedIdentity is volatile.
However other implementations can be wrongly implemented. Once getIdentity() would be marked with synchronize modifier, such problem shouldn't occure.
- is cloned by
-
ELY-957 Coverity static analysis: DefaultSingleSignOn.getIdentity() not synchronized
- Resolved