guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmuehl...@apache.org
Subject [07/19] incubator-guacamole-client git commit: GUACAMOLE-5: Bring LDAP authentication up to date with sharing profile API changes.
Date Sun, 17 Jul 2016 22:28:35 GMT
GUACAMOLE-5: Bring LDAP authentication up to date with sharing profile API changes.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/4eebc3b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/4eebc3b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/4eebc3b3

Branch: refs/heads/master
Commit: 4eebc3b3015415431b76fce2bf5a29773c774d16
Parents: 0a0b500
Author: Michael Jumper <mjumper@apache.org>
Authored: Fri Jul 15 13:25:39 2016 -0700
Committer: Michael Jumper <mjumper@apache.org>
Committed: Sat Jul 16 11:42:47 2016 -0700

----------------------------------------------------------------------
 .../apache/guacamole/auth/ldap/user/UserContext.java    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/4eebc3b3/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserContext.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserContext.java
b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserContext.java
index 2b705d2..6212517 100644
--- a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserContext.java
+++ b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserContext.java
@@ -34,6 +34,7 @@ import org.apache.guacamole.net.auth.Connection;
 import org.apache.guacamole.net.auth.ConnectionGroup;
 import org.apache.guacamole.net.auth.ConnectionRecordSet;
 import org.apache.guacamole.net.auth.Directory;
+import org.apache.guacamole.net.auth.SharingProfile;
 import org.apache.guacamole.net.auth.User;
 import org.apache.guacamole.net.auth.simple.SimpleConnectionGroup;
 import org.apache.guacamole.net.auth.simple.SimpleConnectionGroupDirectory;
@@ -194,6 +195,12 @@ public class UserContext implements org.apache.guacamole.net.auth.UserContext
{
     }
 
     @Override
+    public Directory<SharingProfile> getSharingProfileDirectory()
+            throws GuacamoleException {
+        return new SimpleDirectory<SharingProfile>();
+    }
+
+    @Override
     public ConnectionRecordSet getConnectionHistory()
             throws GuacamoleException {
         return new SimpleConnectionRecordSet();
@@ -214,4 +221,9 @@ public class UserContext implements org.apache.guacamole.net.auth.UserContext
{
         return Collections.<Form>emptyList();
     }
 
+    @Override
+    public Collection<Form> getSharingProfileAttributes() {
+        return Collections.<Form>emptyList();
+    }
+
 }


Mime
View raw message