guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Jumper <mike.jum...@guac-dev.org>
Subject Re: How to get GuacamoleConfiguration from url?
Date Wed, 20 Dec 2017 08:02:54 GMT
On Mon, Dec 18, 2017 at 5:59 AM, genesis <gguth@live.com> wrote:

>
> I could not find some topics about the anonymous_identifier const, is there
> any example on how to use that?
>

The manual has an overview of the general authentication process, structure
of a Guacamole extension, and the nature of the key interfaces:

http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-auth-providers

The ANONYMOUS_IDENTIFIER is the value you will want to use for the
identifier of the AuthenticatedUser object returned by your
AuthenticationProvider implementation's authenticateUser() function. Doing
this tells Guacamole that the user is authenticated but that they have no
specific identity, and the Guacamole interface will adjust itself
accordingly.

My suggestion for going forward here would be to start by implementing
AuthenticationProvider and gradually filling in the gaps - implementing
authenticateUser(), implementing UserContext, implementing any applicable
Directory objects, etc., leveraging the Simple* versions of these where
helpful and applicable. There will likely be some point at which you can go
back to using the Simple* objects, but the Simple* objects which deal with
the main authentication process partly simplify things with the assumptions
that the user's session will not change while they're logged in and that
each user has a definite identity, which are incompatible with your
intended use.

Once you've started going through that implementation process, just come
back here if you encounter specific problems or need specific
clarification, and we can nudge you back on track.

- Mike

Mime
View raw message