Martin Karch created GUACAMOLE-2154:
---------------------------------------
Summary: Add parameter modifier for stripping mail addresses to
usernames
Key: GUACAMOLE-2154
URL: https://issues.apache.org/jira/browse/GUACAMOLE-2154
Project: Guacamole
Issue Type: New Feature
Reporter: Martin Karch
Hi,
we're using the SAML authentication and therefore the guacamole username is
always an email address.
However, the logins to our remote servers often are usernames-only, so it would
be nice if there were a possibility to strip down the guacamole username
[email protected]_ to _user_ for using the {{${GUAC_USERNAME}}} parameter.
I think with a parameter modifier (e.g.
{{{}${GUAC_USERNAME:STRIP_MAILDOMAIN}{}}}) this would be easy to realize.
Even better would be some kind of custom modifier that runs a script to modify
the username (or even password) to ones needs. The script path could either be
appended to the modifier (e.g. {{{}${GUAC_USERNAME:CUSTOM_/path/to/script}{}}})
or set in an extra config value (e.g. {{{}auth_modifier_custompath{}}}) with
just the modifier in the parameter (e.g. {{{}${GUAC_USERNAME:CUSTOM}{}}}).
Thanks
Martin
--
This message was sent by Atlassian Jira
(v8.20.10#820010)