net.sourceforge.guacamole.net.auth
Interface AuthenticationProvider


public interface AuthenticationProvider

Provides means of retrieving a set of named GuacamoleConfigurations for a given Credentials object.

Author:
Michael Jumper

Method Summary
 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.
 

Method Detail

getAuthorizedConfigurations

Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> getAuthorizedConfigurations(Credentials credentials)
                                                                                                  throws net.sourceforge.guacamole.GuacamoleException
Given an arbitrary credentials object, returns a Map containing all configurations authorized by those credentials. The keys of this Map are Strings which uniquely identify each configuration.

Parameters:
credentials - The credentials to use to retrieve authorized configurations.
Returns:
A Map of all configurations authorized by the given credentials, or null if the credentials given are not authorized.
Throws:
net.sourceforge.guacamole.GuacamoleException - If an error occurs while retrieving configurations.


Copyright © 2012. All Rights Reserved.