code: protected String toBase64(String user, String password) {
  		StringBuffer stringBuffer = new StringBuffer();
  		stringBuffer.append(user);
  		stringBuffer.append(":");
  		stringBuffer.append(password);
  		return Base64Utility.encode(stringBuffer.toString().getBytes());
  	}
docs: <p>
  toBase64.
  </p>
  
  @param user
  a {@link java.lang.String} object.
  @param password
  a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.