guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis <>
Subject Re: Custom User Attributes
Date Wed, 20 Feb 2019 08:19:58 GMT
Thanks for your fast reply.
That way I can only attach this attribute temporarily to the user object,
right?(maybe i misunderstood the concept of decorate)
It should be possible to edit this attribute(stored in the DB) via the
guacamole backend(edit user, new user)

My solution atm:
I've customized the jdbc-mysql extension to add this attribute to the
backend. (and it seems to work perfectly)
I think there is no easy to achieve this at the moment.

Am Di., 19. Feb. 2019 um 16:34 Uhr schrieb Nick Couchman <>:

> On Tue, Feb 19, 2019 at 9:11 AM Dennis <> wrote:
>> Hi again,
>> is there an easy way to add additional user attributes to guacamole,
>> which can be edited or set if I create a new user?(Need an additional
>> attribute for my custom authentication extension)
> You'll want to "decorate" the user object in your extension.  You can use
> the TOTP module as a good example of putting attributes on an existing user
> account, as this is how the TOTP module stores the second factor
> information related to the users.  Take a look at that and see if it makes
> sense, and feel free to post back in any questions, here.  It's taken me a
> little getting used to to wrap my mind around the decoration, but once you
> get familiar with the concept it should be pretty straightforward to
> implement.
> -Nick

View raw message