Initial commit
This commit is contained in:
commit
b574a33cfd
5 files changed
+753
No files matched your search
+12
@@ -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