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, updateUserContext
public 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()
AuthenticationProvider
public void init() throws GuacamoleException
GuacamoleException
public Map<String,GuacamoleConfiguration> getAuthorizedConfigurations(Credentials credentials) throws GuacamoleException
SimpleAuthenticationProvider
getAuthorizedConfigurations
in class SimpleAuthenticationProvider
credentials
- The credentials to use to retrieve authorized
configurations.GuacamoleException
- If an error occurs while retrieving
configurations.Copyright © 2017. All rights reserved.