Github user necouchman commented on a diff in the pull request:

    https://github.com/apache/guacamole-client/pull/299#discussion_r197095272
  
    --- Diff: 
guacamole-ext/src/main/java/org/apache/guacamole/token/StandardTokens.java ---
    @@ -164,6 +172,33 @@ public static void addStandardTokens(TokenFilter 
filter, AuthenticatedUser user)
             // Add tokens specific to credentials
             addStandardTokens(filter, user.getCredentials());
     
    +        // Add custom attribute tokens
    +        addAttributeTokens(filter, user.getAttributes());
    +    }
    +
    +    /**
    +     * Add attribute tokens to StandardTokens.  These are arbitrary
    +     * key/value pairs that may be configured by the various authentication
    +     * extensions.
    +     *
    +     * @param filter
    +     *     The TokenFilter to add attributes tokens to.
    --- End diff --
    
    "attribute tokens"


---

Reply via email to