Initial commit

This commit is contained in:
Michael Jumper
2011-08-17 09:42:40 -07:00
commit b574a33cfd
5 changed files with 753 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}
}