From 4c1281d8c24fce8a597e1465624010a2c438851b Mon Sep 17 00:00:00 2001 From: Jared Frees Date: Mon, 11 Jun 2018 11:17:06 -0400 Subject: [PATCH] GUACAMOLE-524: Removed changes to Credentials --- .../guacamole/net/auth/Credentials.java | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Credentials.java b/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Credentials.java index 076970737..142c51653 100644 --- a/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Credentials.java +++ b/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Credentials.java @@ -22,7 +22,7 @@ package org.apache.guacamole.net.auth; import java.io.Serializable; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; -import java.util.Map; + /** * Simple arbitrary set of credentials, including a username/password pair, @@ -72,29 +72,6 @@ public class Credentials implements Serializable { */ private transient HttpSession session; - /** - * Arbitrary LDAP attributes specified in guacamole.properties - */ - private Map ldapAttrs; - - /** - * Returns the lDAP attributes associated with this set of credentials. - * @return The LDAP attributes Map associated with this set of credentials, - * or null if no LDAP Attributes have been set. - */ - public Map getLDAPAttributes() { - return ldapAttrs; - } - - /** - * Sets the LDAP attributes associated with this set of credentials. - * @param attributes The LDAP attributes to associate with this set of - * credentials. - */ - public void setLDAPAttributes(Map attributes) { - this.ldapAttrs = attributes; - } - /** * Returns the password associated with this set of credentials. * @return The password associated with this username/password pair, or