You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/08/01 00:28:54 UTC

[5/7] incubator-guacamole-client git commit: GUACAMOLE-5: Use connection name for SharedConnection, not sharing profile name.

GUACAMOLE-5: Use connection name for SharedConnection, not sharing profile name.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/c2f42936
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/c2f42936
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/c2f42936

Branch: refs/heads/master
Commit: c2f429360ca96a2b0e0198f83c864dc2a76213f9
Parents: ff3c57d
Author: Michael Jumper <mj...@apache.org>
Authored: Fri Jul 29 23:05:27 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Jul 30 23:11:13 2016 -0700

----------------------------------------------------------------------
 .../guacamole/auth/jdbc/sharing/connection/SharedConnection.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/c2f42936/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/connection/SharedConnection.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/connection/SharedConnection.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/connection/SharedConnection.java
index b5b8f4c..e836564 100644
--- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/connection/SharedConnection.java
+++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/connection/SharedConnection.java
@@ -95,7 +95,7 @@ public class SharedConnection implements Connection {
 
     @Override
     public String getName() {
-        return definition.getSharingProfile().getName();
+        return definition.getActiveConnection().getConnection().getName();
     }
 
     @Override