Alon Bar-Lev has posted comments on this change.

Change subject: aaa : Add engine sso
......................................................................


Patch Set 56:

(1 comment)

https://gerrit.ovirt.org/#/c/36119/56/backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/servlets/LoginPhase4Servlet.java
File 
backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/servlets/LoginPhase4Servlet.java:

Line 22:             throws ServletException, IOException {
Line 23:         HttpSession session = request.getSession(true);
Line 24:         if (SSOUtils.isUserAuthenticated(session)) {
Line 25:             log.debug("User is authenticated forwarding to module");
Line 26:             SSOUtils.redirectToModule(
instead redirect to module, maybe consider to redirect back to the interactive 
endpoint with void command, so it will redirect to application?

just a thought...

we can have two void commands...

 void-success - redirect to post command.
 void-error - redirect to error.

maybe this is too crazy.
Line 27:                     session,
Line 28:                     request,
Line 29:                     response);
Line 30:         } else {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I4894fc12653027271b6abd4dd5313b10593703fa
Gerrit-PatchSet: 56
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: Oved Ourfali <oourf...@redhat.com>
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