GUACAMOLE-524: Do not interpret tokens in SimpleUserContext if interpretTokens is...
authorMichael Jumper <mjumper@apache.org>
Tue, 22 Jan 2019 22:25:27 +0000 (14:25 -0800)
committerMichael Jumper <mjumper@apache.org>
Tue, 22 Jan 2019 22:25:27 +0000 (14:25 -0800)
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/simple/SimpleUserContext.java

index a1dce55..2cefee2 100644 (file)
@@ -129,7 +129,7 @@ public class SimpleUserContext extends AbstractUserContext {
             GuacamoleConfiguration config = configEntry.getValue();
 
             // Add as simple connection
-            Connection connection = new SimpleConnection(identifier, identifier, config, true);
+            Connection connection = new SimpleConnection(identifier, identifier, config, interpretTokens);
             connection.setParentIdentifier(DEFAULT_ROOT_CONNECTION_GROUP);
             connections.put(identifier, connection);