mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Switch to external auth API.
This commit is contained in:
@@ -85,6 +85,14 @@
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Guacamole Authentication API -->
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.guacamole</groupId>
|
||||
<artifactId>guacamole-common-auth</artifactId>
|
||||
<version>0.5.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Guacamole JavaScript API -->
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.guacamole</groupId>
|
||||
|
@@ -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