Skip to content

Commit

Permalink
GUACAMOLE-1239: Fix issue with records added by non-JDBC connections.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman committed Oct 14, 2024
1 parent 61f6c8c commit 7b4af2a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ public class HistoryTrackingConnection extends DelegatingConnection {
* established connections.
*/
private final ConnectionRecordMapper connectionRecordMapper;

/**
* The Guacamole server environment.
*/
@Inject
private JDBCEnvironment environment;

/**
* Creates a new HistoryConnection that wraps the given connection,
Expand Down Expand Up @@ -106,7 +100,7 @@ public GuacamoleTunnel connect(GuacamoleClientInformation info,

// Insert the connection history record to mark the start of this connection
connectionRecordMapper.insert(connectionRecordModel,
environment.getCaseSensitiveUsernames());
currentUser.isCaseSensitive());

// Include history record UUID as token
ModeledConnectionRecord modeledRecord = new ModeledConnectionRecord(connectionRecordModel);
Expand Down

0 comments on commit 7b4af2a

Please sign in to comment.