mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
package net.sourceforge.guacamole.net.auth;
|
||||
|
||||
import java.util.Map;
|
||||
import net.sourceforge.guacamole.GuacamoleException;
|
||||
import net.sourceforge.guacamole.protocol.GuacamoleConfiguration;
|
||||
|
||||
public interface AuthenticationProvider<CredentialType> {
|
||||
|
||||
public Map<String, GuacamoleConfiguration> getAuthorizedConfigurations(CredentialType credentials) throws GuacamoleException;
|
||||
|
||||
}
|
@@ -0,0 +1,24 @@
|
||||
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