mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-524: Changed addStandardTokens so user.getAttributes is called
This commit is contained in:
@@ -126,10 +126,6 @@ public class ConnectionService {
|
||||
TokenFilter tokenFilter = new TokenFilter();
|
||||
StandardTokens.addStandardTokens(tokenFilter, user);
|
||||
|
||||
// Add custom attribute tokens
|
||||
Map<String, String> attrs = user.getAttributes();
|
||||
StandardTokens.addAttributeTokens(tokenFilter, attrs);
|
||||
|
||||
// Produce connections for each readable configuration
|
||||
Map<String, Connection> connections = new HashMap<String, Connection>();
|
||||
while (results.hasMore()) {
|
||||
|
@@ -171,6 +171,8 @@ public class StandardTokens {
|
||||
// Add tokens specific to credentials
|
||||
addStandardTokens(filter, user.getCredentials());
|
||||
|
||||
// Add custom attribute tokens
|
||||
addAttributeTokens(filter, user.getAttributes());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user