net.sourceforge.guacamole.net.basic
Class BasicFileAuthenticationProvider
java.lang.Object
net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
- All Implemented Interfaces:
- net.sourceforge.guacamole.net.auth.AuthenticationProvider
public class BasicFileAuthenticationProvider
- extends Object
- implements net.sourceforge.guacamole.net.auth.AuthenticationProvider
Authenticates users against a static list of username/password pairs.
Each username/password may be associated with multiple configurations.
This list is stored in an XML file which is reread if modified.
- Author:
- Michael Jumper, Michal Kotas
Field Summary |
static net.sourceforge.guacamole.properties.FileGuacamoleProperty |
BASIC_USER_MAPPING
The filename of the XML file to read the user user_mapping from. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASIC_USER_MAPPING
public static final net.sourceforge.guacamole.properties.FileGuacamoleProperty BASIC_USER_MAPPING
- The filename of the XML file to read the user user_mapping from.
BasicFileAuthenticationProvider
public BasicFileAuthenticationProvider()
getAuthorizedConfigurations
public Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> getAuthorizedConfigurations(net.sourceforge.guacamole.net.auth.Credentials credentials)
throws net.sourceforge.guacamole.GuacamoleException
- Specified by:
getAuthorizedConfigurations
in interface net.sourceforge.guacamole.net.auth.AuthenticationProvider
- Throws:
net.sourceforge.guacamole.GuacamoleException
Copyright © 2013. All Rights Reserved.