mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 00:23:21 +00:00 
			
		
		
		
	Use TreeMap for holding configurations, such that connections will be sorted by ID (rather than arbitrarily). FIxes #216.
This commit is contained in:
		| @@ -29,6 +29,7 @@ import java.security.NoSuchAlgorithmException; | |||||||
| import java.util.Collections; | import java.util.Collections; | ||||||
| import java.util.HashMap; | import java.util.HashMap; | ||||||
| import java.util.Map; | import java.util.Map; | ||||||
|  | import java.util.TreeMap; | ||||||
| import net.sourceforge.guacamole.GuacamoleException; | import net.sourceforge.guacamole.GuacamoleException; | ||||||
| import net.sourceforge.guacamole.net.auth.AuthenticationProvider; | import net.sourceforge.guacamole.net.auth.AuthenticationProvider; | ||||||
| import net.sourceforge.guacamole.net.auth.Credentials; | import net.sourceforge.guacamole.net.auth.Credentials; | ||||||
| @@ -161,7 +162,7 @@ public class BasicFileAuthenticationProvider implements AuthenticationProvider { | |||||||
|             this.auth_password = auth_password; |             this.auth_password = auth_password; | ||||||
|             this.auth_encoding = auth_encoding; |             this.auth_encoding = auth_encoding; | ||||||
|  |  | ||||||
|             configs = new HashMap<String, GuacamoleConfiguration>(); |             configs = new TreeMap<String, GuacamoleConfiguration>(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private static final char HEX_CHARS[] = { |         private static final char HEX_CHARS[] = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user