Ravi Nori has posted comments on this change.

Change subject: aaa: Engine session validation should be done against sso
......................................................................


Patch Set 7:

(1 comment)

https://gerrit.ovirt.org/#/c/38015/7/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/FiltersHelper.java
File 
backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/FiltersHelper.java:

Line 81:         HttpURLConnection connection = null;
Line 82:         boolean isValid = false;
Line 83:         if (StringUtils.isNotEmpty(sessionId)) {
Line 84:             try {
Line 85:                 connection = create(new 
URL("http://localhost/ovirt-engine/sso/validate-session?sso_session_id="; + 
sessionId));
> this should be done over ssl if available, it also mean that the certificat
This is taken care of in later patches, squashing should eliminate confusion
Line 86:                 connection.setDoInput(true);
Line 87:                 connection.setDoOutput(false);
Line 88:                 if (connection.getResponseCode() == 
HttpURLConnection.HTTP_OK) {
Line 89:                     isValid = true;


-- 
To view, visit https://gerrit.ovirt.org/38015
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I72b0ed9802804e173d99f7d7f173e3e1d354a57f
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to