GUACAMOLE-524: Removed changes to Credentials
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/4c1281d8 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/4c1281d8 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/4c1281d8 Branch: refs/heads/master Commit: 4c1281d8c24fce8a597e1465624010a2c438851b Parents: ad6be80 Author: Jared Frees <[email protected]> Authored: Mon Jun 11 11:17:06 2018 -0400 Committer: Jared Frees <[email protected]> Committed: Mon Jun 11 11:17:06 2018 -0400 ---------------------------------------------------------------------- .../apache/guacamole/net/auth/Credentials.java | 25 +------------------- 1 file changed, 1 insertion(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/4c1281d8/guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Credentials.java ---------------------------------------------------------------------- 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 0769707..142c516 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, @@ -73,29 +73,6 @@ public class Credentials implements Serializable { private transient HttpSession session; /** - * Arbitrary LDAP attributes specified in guacamole.properties - */ - private Map<String, String> 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<String, String> 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<String, String> attributes) { - this.ldapAttrs = attributes; - } - - /** * Returns the password associated with this set of credentials. * @return The password associated with this username/password pair, or * null if no password has been set.
