public abstract class SimpleAuthenticationProvider extends Object implements AuthenticationProvider
Constructor and Description |
---|
SimpleAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> |
getAuthorizedConfigurations(Credentials credentials)
Given an arbitrary credentials object, returns a Map containing all
configurations authorized by those credentials.
|
UserContext |
getUserContext(Credentials credentials)
Returns the UserContext of the user authorized by the given credentials.
|
public abstract Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> getAuthorizedConfigurations(Credentials credentials) throws net.sourceforge.guacamole.GuacamoleException
credentials
- The credentials to use to retrieve authorized
configurations.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while retrieving
configurations.public UserContext getUserContext(Credentials credentials) throws net.sourceforge.guacamole.GuacamoleException
AuthenticationProvider
getUserContext
in interface AuthenticationProvider
credentials
- The credentials to use to retrieve the environment.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while creating the
UserContext.Copyright © 2013. All Rights Reserved.