Uses of Class
org.apache.guacamole.net.auth.Credentials
Packages that use Credentials
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.
Provides classes for storing information about events that are
triggered when users log into and use the Guacamole web application.
-
Uses of Credentials in org.apache.guacamole.net.auth
Methods in org.apache.guacamole.net.auth that return CredentialsModifier and TypeMethodDescriptionAuthenticatedUser.getCredentials()
Returns the credentials that the user provided when they successfully authenticated.AbstractAuthenticationProvider.updateCredentials
(Credentials credentials) Given the set of credentials that a user has submitted during authentication but has not yet been provided to theAuthenticationProvider.authenticateUser(org.apache.guacamole.net.auth.Credentials)
orAuthenticationProvider.updateAuthenticatedUser(org.apache.guacamole.net.auth.AuthenticatedUser, org.apache.guacamole.net.auth.Credentials)
functions of installed AuthenticationProviders, returns the set of credentials that should be used instead.default Credentials
AuthenticationProvider.updateCredentials
(Credentials credentials) Given the set of credentials that a user has submitted during authentication but has not yet been provided to theAuthenticationProvider.authenticateUser(org.apache.guacamole.net.auth.Credentials)
orAuthenticationProvider.updateAuthenticatedUser(org.apache.guacamole.net.auth.AuthenticatedUser, org.apache.guacamole.net.auth.Credentials)
functions of installed AuthenticationProviders, returns the set of credentials that should be used instead.Methods in org.apache.guacamole.net.auth with parameters of type CredentialsModifier and TypeMethodDescriptionAbstractAuthenticationProvider.authenticateUser
(Credentials credentials) Returns an AuthenticatedUser representing the user authenticated by the given credentials, if any.AuthenticationProvider.authenticateUser
(Credentials credentials) Returns an AuthenticatedUser representing the user authenticated by the given credentials, if any.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.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.updateAuthenticatedUser
(AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated AuthenticatedUser for the given credentials already having produced the given AuthenticatedUser.AuthenticationProvider.updateAuthenticatedUser
(AuthenticatedUser authenticatedUser, Credentials credentials) Returns a new or updated AuthenticatedUser for the given credentials already having produced the given AuthenticatedUser.AbstractAuthenticationProvider.updateCredentials
(Credentials credentials) Given the set of credentials that a user has submitted during authentication but has not yet been provided to theAuthenticationProvider.authenticateUser(org.apache.guacamole.net.auth.Credentials)
orAuthenticationProvider.updateAuthenticatedUser(org.apache.guacamole.net.auth.AuthenticatedUser, org.apache.guacamole.net.auth.Credentials)
functions of installed AuthenticationProviders, returns the set of credentials that should be used instead.default Credentials
AuthenticationProvider.updateCredentials
(Credentials credentials) Given the set of credentials that a user has submitted during authentication but has not yet been provided to theAuthenticationProvider.authenticateUser(org.apache.guacamole.net.auth.Credentials)
orAuthenticationProvider.updateAuthenticatedUser(org.apache.guacamole.net.auth.AuthenticatedUser, org.apache.guacamole.net.auth.Credentials)
functions of installed AuthenticationProviders, returns the set of credentials that should be used instead.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. -
Uses of Credentials in org.apache.guacamole.net.auth.simple
Methods in org.apache.guacamole.net.auth.simple with parameters of type CredentialsModifier and TypeMethodDescriptionSimpleAuthenticationProvider.authenticateUser
(Credentials credentials) SimpleAuthenticationProvider.getAuthorizedConfigurations
(Credentials credentials) Given an arbitrary credentials object, returns a Map containing all configurations authorized by those credentials. -
Uses of Credentials in org.apache.guacamole.net.event
Methods in org.apache.guacamole.net.event that return CredentialsModifier and TypeMethodDescriptionAuthenticationFailureEvent.getCredentials()
AuthenticationSuccessEvent.getCredentials()
CredentialEvent.getCredentials()
Returns the current credentials of the user triggering the event, if any.TunnelCloseEvent.getCredentials()
TunnelConnectEvent.getCredentials()
Constructors in org.apache.guacamole.net.event with parameters of type CredentialsModifierConstructorDescriptionAuthenticationFailureEvent
(Credentials credentials) Creates a new AuthenticationFailureEvent which represents a failure to authenticate the given credentials where there is no specific AuthenticationProvider nor Throwable associated with the failure.AuthenticationFailureEvent
(Credentials credentials, Throwable failure) Creates a new AuthenticationFailureEvent which represents a failure to authenticate the given credentials where there is no specific AuthenticationProvider causing the failure.AuthenticationFailureEvent
(Credentials credentials, AuthenticationProvider authProvider, Throwable failure) Creates a new AuthenticationFailureEvent which represents a failure to authenticate the given credentials.TunnelCloseEvent
(AuthenticatedUser authenticatedUser, Credentials credentials, org.apache.guacamole.net.GuacamoleTunnel tunnel) Creates a new TunnelCloseEvent which represents the closing of the given tunnel via a request associated with the given credentials.TunnelConnectEvent
(AuthenticatedUser authenticatedUser, Credentials credentials, org.apache.guacamole.net.GuacamoleTunnel tunnel) Creates a new TunnelConnectEvent which represents the connecting of the given tunnel via a request associated with the given credentials. -
Uses of Credentials in org.apache.guacamole.token
Methods in org.apache.guacamole.token with parameters of type CredentialsModifier and TypeMethodDescriptionstatic void
StandardTokens.addStandardTokens
(TokenFilter filter, Credentials credentials) Deprecated.Adds tokens which are standardized by guacamole-ext to the given TokenFilter using the values from the given Credentials object.