GUACAMOLE-524: Removed changes to Credentials

This commit is contained in:
Jared Frees
2018-06-11 11:17:06 -04:00
parent ad6be80131
commit 4c1281d8c2

View File

@@ -22,7 +22,7 @@ package org.apache.guacamole.net.auth;
import java.io.Serializable; import java.io.Serializable;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
import java.util.Map;
/** /**
* Simple arbitrary set of credentials, including a username/password pair, * Simple arbitrary set of credentials, including a username/password pair,
@@ -72,29 +72,6 @@ public class Credentials implements Serializable {
*/ */
private transient HttpSession session; 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. * Returns the password associated with this set of credentials.
* @return The password associated with this username/password pair, or * @return The password associated with this username/password pair, or