Alon Bar-Lev has posted comments on this change.

Change subject: core : Persist engine session on login and delete on logout
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.ovirt.org/#/c/35361/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/aaa/SessionDataContainer.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/aaa/SessionDataContainer.java:

Line 103:             sessionToIdMap.put(sessionId, 
getDbFacade().getEngineSessionDao().save(engineSession));
Line 104:         }
Line 105:     }
Line 106: 
Line 107:     public long getSessionId(String sessionId) {
can we rename this to getSessionKeyId or anything that signs that this is the 
primary key and not the session id?
Line 108:         return sessionToIdMap.containsKey(sessionId) ? 
sessionToIdMap.get(sessionId) : -1;
Line 109:     }
Line 110: 
Line 111:     public void cleanupAllEngineSessions() {


-- 
To view, visit http://gerrit.ovirt.org/35361
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id716d9c6f65898ccd0ffd84d8b05926b78ac9692
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to