[
https://issues.apache.org/jira/browse/GUACAMOLE-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089208#comment-16089208
]
Nick Couchman commented on GUACAMOLE-341:
-----------------------------------------
As noted in the PR, I suspect this bug also exists in the guacamole-auth-cas
module in 0.9.13-incubating.
> GUAC_USERNAME token not defined if using guacamole-auth-header
> --------------------------------------------------------------
>
> Key: GUACAMOLE-341
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-341
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-auth-header
> Affects Versions: 0.9.12-incubating
> Reporter: Gregor S
>
> To make tokenfilter work with auth-header -and noauth module.- (needed e.g.
> for Kerberos authentication through an Apache/Nginx Reverse Proxy, that
> passes REMOTE_USER header), username must be set in the credentials object,
> because it is added to the Tokenfilter only if username is not null in the
> credentials object.
> basically make $\{GUAC_USERNAME} be replaced with the credentials passed
> though the REMOTE_USER variable.
> See also:
> https://github.com/glyptodon/guacamole-client/blob/b26a664d66fd14a22eb7300d29aa20390cf408ec/guacamole-ext/src/main/java/org/apache/guacamole/token/StandardTokens.java#L118
> https://github.com/glyptodon/guacamole-client/blob/0.9.12-incubating/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/simple/SimpleAuthenticationProvider.java#L170
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)