<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>
+++ /dev/null
-
-package net.sourceforge.guacamole.net.auth;
-
-import net.sourceforge.guacamole.GuacamoleException;
-
-public interface AuthenticationProvider<CredentialType> {
-
- public UserConfiguration getUserConfiguration(CredentialType credentials) throws GuacamoleException;
-
-}
+++ /dev/null
-
-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();
-
-}
+++ /dev/null
-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;
- }
-
-}