Uses of Interface
org.apache.guacamole.net.auth.UserContext
-
Packages that use UserContext Package Description org.apache.guacamole.net.auth Provides classes which can be used to extend or replace the authentication functionality of the Guacamole web application.org.apache.guacamole.net.auth.simple 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 UserContext Modifier and Type Class Description class
AbstractUserContext
Base implementation of UserContext which provides default implementations of most functions.class
DelegatingUserContext
UserContext implementation which simply delegates all function calls to an underlying UserContext.class
TokenInjectingUserContext
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 UserContext Modifier and Type Method Description UserContext
AbstractAuthenticationProvider. 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.UserContext
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.UserContext
AbstractUserContext. getPrivileged()
Returns a user context which provides privileged access.UserContext
DelegatingUserContext. getPrivileged()
default UserContext
UserContext. getPrivileged()
Returns a user context which provides privileged access.UserContext
AbstractAuthenticationProvider. getUserContext(AuthenticatedUser authenticatedUser)
Returns the UserContext of the user authenticated by the given credentials.UserContext
AuthenticationProvider. getUserContext(AuthenticatedUser authenticatedUser)
Returns the UserContext of the user authenticated by the given credentials.UserContext
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.UserContext
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.UserContext
AbstractAuthenticationProvider. updateUserContext(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials)
Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.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 UserContext Modifier and Type Method Description UserContext
AbstractAuthenticationProvider. 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.UserContext
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.UserContext
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.UserContext
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.UserContext
AbstractAuthenticationProvider. updateUserContext(UserContext context, AuthenticatedUser authenticatedUser, Credentials credentials)
Returns a new or updated UserContext for the given AuthenticatedUser already having the given UserContext.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 UserContext Constructor Description DelegatingUserContext(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 UserContext Modifier and Type Class Description class
SimpleUserContext
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 UserContext Modifier and Type Method Description UserContext
SimpleAuthenticationProvider. getUserContext(AuthenticatedUser authenticatedUser)
-