You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/01/05 15:40:56 UTC

[09/16] guacamole-client git commit: GUACAMOLE-394: No need to explicitly set ID - it's automatically pulled from the username.

GUACAMOLE-394: No need to explicitly set ID - it's automatically pulled from the username.

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

Branch: refs/heads/staging/0.9.14
Commit: 3ccb4d4ac1d04ecc172cd2f8f2f16ecdf2895efd
Parents: 446a9d0
Author: Michael Jumper <mj...@apache.org>
Authored: Tue Sep 12 15:16:53 2017 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Mon Dec 11 23:51:57 2017 -0800

----------------------------------------------------------------------
 .../org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java     | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/3ccb4d4a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java
index 0bf01fb..0b3b121 100644
--- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java
+++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUserContext.java
@@ -132,7 +132,6 @@ public class ModeledUserContext extends RestrictedObject
 
         // Create login record for user
         userRecord = new ActivityRecordModel();
-        userRecord.setUserID(currentUser.getUser().getModel().getObjectID());
         userRecord.setUsername(currentUser.getIdentifier());
         userRecord.setStartDate(new Date());
         userRecord.setRemoteHost(currentUser.getCredentials().getRemoteHostname());