@Override
 public Parameters clone() {
   Parameters params = new Parameters();
   params.host = host;
   params.username = username;
   params.password = password;
   params.path = path;
   params.session = session;
   params.port = port;
   params.transport = transport;
   return params;
 }
 /**
  * If authentication is enabled on the server, you need to call this with a valid
  * username/password pair. Only implements Digest Access Authentication according to RFC 2069.
  *
  * @param username The username
  * @param password The password
  */
 public void setCredentials(String username, String password) {
   mTmpParameters.username = username;
   mTmpParameters.password = password;
 }