public class NoAuthenticationProvider extends SimpleAuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NOAUTH_CONFIG
The default filename to use for the configuration, if not defined within
guacamole.properties.
|
static FileGuacamoleProperty |
NOAUTH_CONFIG
The XML file to read the configuration from.
|
| Constructor and Description |
|---|
NoAuthenticationProvider()
Creates a new NoAuthenticationProvider that does not perform any
authentication at all.
|
| 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.
|
void |
init() |
authenticateUser, getUserContext, updateAuthenticatedUser, updateUserContextpublic static final FileGuacamoleProperty NOAUTH_CONFIG
public static final String DEFAULT_NOAUTH_CONFIG
public NoAuthenticationProvider()
throws GuacamoleException
GuacamoleException - If a required property is missing, or an error occurs while parsing
a property.public String getIdentifier()
AuthenticationProviderpublic void init()
throws GuacamoleException
GuacamoleExceptionpublic 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 © 2016. All rights reserved.