Vinzenz Feenstra has uploaded a new change for review.

Change subject: frontend: Always assume GuestAgent to be present for SSO 
requests
......................................................................

frontend: Always assume GuestAgent to be present for SSO requests

Change-Id: Iac7271b4284cc40868ac21ce7eaa4f9ac5e19371
Signed-off-by: Vinzenz Feenstra <vfeen...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SpiceConsoleModel.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/43/27143/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SpiceConsoleModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SpiceConsoleModel.java
index d1062bd..2e6e764 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SpiceConsoleModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SpiceConsoleModel.java
@@ -566,8 +566,8 @@
 
         // Only if the VM has agent and we connect through user-portal
         // we attempt to perform SSO (otherwise an error will be thrown)
-        if (!getConfigurator().getIsAdmin() && getEntity().getHasAgent()
-                && getEntity().getStatus() == VMStatus.Up && 
SsoMethod.GUEST_AGENT.equals(getEntity().getSsoMethod())) {
+        if (!getConfigurator().getIsAdmin() && getEntity().getStatus() == 
VMStatus.Up
+                && SsoMethod.GUEST_AGENT.equals(getEntity().getSsoMethod())) {
             getLogger().info("SpiceConsoleManager::Connect: Attempting to 
perform SSO on Desktop " //$NON-NLS-1$
                     + getEntity().getName());
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac7271b4284cc40868ac21ce7eaa4f9ac5e19371
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeen...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to