public class BasicFileAuthenticationProvider extends SimpleAuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static FileGuacamoleProperty |
BASIC_USER_MAPPING
The XML file to read the user mapping from.
|
static String |
DEFAULT_USER_MAPPING
The default filename to use for the user mapping, if not defined within
guacamole.properties.
|
| Constructor and Description |
|---|
BasicFileAuthenticationProvider()
Creates a new BasicFileAuthenticationProvider that authenticates users
against simple, monolithic XML file.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,GuacamoleConfiguration> |
getAuthorizedConfigurations(Credentials credentials)
Given an arbitrary credentials object, returns a Map containing all
configurations authorized by those credentials.
|
String |
getIdentifier()
Returns the identifier which uniquely and consistently identifies this
AuthenticationProvider implementation.
|
authenticateUser, getUserContext, updateAuthenticatedUser, updateUserContextpublic static final FileGuacamoleProperty BASIC_USER_MAPPING
public static final String DEFAULT_USER_MAPPING
public BasicFileAuthenticationProvider()
throws GuacamoleException
GuacamoleException - If a required property is missing, or an error occurs while parsing
a property.public String getIdentifier()
AuthenticationProviderpublic Map<String,GuacamoleConfiguration> getAuthorizedConfigurations(Credentials credentials) throws GuacamoleException
SimpleAuthenticationProvidergetAuthorizedConfigurations in class SimpleAuthenticationProvidercredentials - The credentials to use to retrieve authorized
configurations.GuacamoleException - If an error occurs while retrieving
configurations.Copyright © 2015. All rights reserved.