code: public LDAPSearchConstraints getLDAPSearchConstraints() throws GuacamoleException {
  
          LDAPSearchConstraints constraints = new LDAPSearchConstraints();
  
          constraints.setMaxResults(getMaxResults());
          constraints.setDereference(getDereferenceAliases().DEREF_VALUE);
  
          return constraints;
      }
docs: Returns a set of LDAPSearchConstraints to apply globally
  to all LDAP searches.
  
  @return
  A LDAPSearchConstraints object containing constraints
  to be applied to all LDAP search operations.
  
  @throws GuacamoleException
  If guacamole.properties cannot be parsed.