Uses of Interface
org.apache.guacamole.net.auth.UserContext
Packages that use UserContext
Package
Description
Provides classes which can be used to extend or replace the authentication
functionality of the Guacamole web application.
Provides a basic AuthenticationProvider base class that can be used to create
simple AuthenticationProviders in the same way allowed by the old
authentication API.
-
Uses of UserContext in org.apache.guacamole.net.auth
Classes in org.apache.guacamole.net.auth that implement UserContextModifier and TypeClassDescriptionclass
Base implementation of UserContext which provides default implementations of most functions.class
UserContext implementation which simply delegates all function calls to an underlying UserContext.class
UserContext implementation which decorates a given UserContext, automatically applying additional parameter tokens during the connection process of any retrieved Connections and ConnectionGroups.Methods in org.apache.guacamole.net.auth that return UserContextModifier and TypeMethodDescriptionAbstractAuthenticationProvider.decorate
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned from getUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AuthenticationProvider.decorate
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned from getUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.protected UserContext
DelegatingUserContext.getDelegateUserContext()
Returns the underlying UserContext wrapped by this DelegatingUserContext.AbstractUserContext.getPrivileged()
Returns a user context which provides privileged access.DelegatingUserContext.getPrivileged()
default UserContext
UserContext.getPrivileged()
Returns a user context which provides privileged access.AbstractAuthenticationProvider.getUserContext
(AuthenticatedUser authenticatedUser) Returns the UserContext of the user authenticated by the given credentials.AuthenticationProvider.getUserContext
(AuthenticatedUser authenticatedUser) Returns the UserContext of the user authenticated by the given credentials.AbstractAuthenticationProvider.redecorate
(UserContext decorated, UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned by updateUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AuthenticationProvider.redecorate
(UserContext decorated, UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned by updateUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AbstractAuthenticationProvider.updateUserContext
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.AuthenticationProvider.updateUserContext
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.Methods in org.apache.guacamole.net.auth with parameters of type UserContextModifier and TypeMethodDescriptionAbstractAuthenticationProvider.decorate
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned from getUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AuthenticationProvider.decorate
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned from getUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AbstractAuthenticationProvider.redecorate
(UserContext decorated, UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned by updateUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AuthenticationProvider.redecorate
(UserContext decorated, UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Given a UserContext returned by updateUserContext() of a different AuthenticationProvider, returns a UserContext instance which decorates (wraps) that UserContext, delegating and overriding implemented functions as necessary.AbstractAuthenticationProvider.updateUserContext
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.AuthenticationProvider.updateUserContext
(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.Constructors in org.apache.guacamole.net.auth with parameters of type UserContextModifierConstructorDescriptionDelegatingUserContext
(UserContext userContext) Wraps the given UserContext such that all function calls against this DelegatingUserContext will be delegated to it.TokenInjectingUserContext
(UserContext userContext) Wraps the given UserContext, overriding the connect() function of each retrieved Connection and ConnectionGroup such that the additional parameter tokens added by addTokens() or returned by getTokens() are included.TokenInjectingUserContext
(UserContext userContext, Map<String, String> tokens) Wraps the given UserContext, overriding the connect() function of each retrieved Connection and ConnectionGroup such that the given additional parameter tokens are included. -
Uses of UserContext in org.apache.guacamole.net.auth.simple
Classes in org.apache.guacamole.net.auth.simple that implement UserContextModifier and TypeClassDescriptionclass
An extremely simple UserContext implementation which provides access to a defined and restricted set of GuacamoleConfigurations.Methods in org.apache.guacamole.net.auth.simple that return UserContextModifier and TypeMethodDescriptionSimpleAuthenticationProvider.getUserContext
(AuthenticatedUser authenticatedUser)