mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Switch to external auth API.
This commit is contained in:
		| @@ -1,10 +0,0 @@ | ||||
|  | ||||
| package net.sourceforge.guacamole.net.auth; | ||||
|  | ||||
| import net.sourceforge.guacamole.GuacamoleException; | ||||
|  | ||||
| public interface AuthenticationProvider<CredentialType> { | ||||
|  | ||||
|     public UserConfiguration getUserConfiguration(CredentialType credentials) throws GuacamoleException; | ||||
|  | ||||
| } | ||||
| @@ -1,13 +0,0 @@ | ||||
|  | ||||
| package net.sourceforge.guacamole.net.auth; | ||||
|  | ||||
| import java.util.Collection; | ||||
| import net.sourceforge.guacamole.protocol.GuacamoleConfiguration; | ||||
|  | ||||
| public interface UserConfiguration { | ||||
|  | ||||
|     public GuacamoleConfiguration getConfiguration(String id); | ||||
|  | ||||
|     public Collection<String> listConfigurations(); | ||||
|      | ||||
| } | ||||
| @@ -1,24 +0,0 @@ | ||||
| package net.sourceforge.guacamole.net.auth; | ||||
|  | ||||
| public class UsernamePassword { | ||||
|  | ||||
|     private String username; | ||||
|     private String password; | ||||
|  | ||||
|     public String getPassword() { | ||||
|         return password; | ||||
|     } | ||||
|  | ||||
|     public void setPassword(String password) { | ||||
|         this.password = password; | ||||
|     } | ||||
|  | ||||
|     public String getUsername() { | ||||
|         return username; | ||||
|     } | ||||
|  | ||||
|     public void setUsername(String username) { | ||||
|         this.username = username; | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user