Advanced Search
Search Results
33 total results found
3.6 – Virtual Channel (VC) and Dynamic Virtual Channel extension
SparkView JavaScript client supports standard RDP virtual channel and dynamical virtual channel extension. You can create multiple virtual channels and dynamic virtual channels on client side using JavaScript (You can only create one VC before 4.0): var r = ne...
3.7 – Gateway channel
You can create multiple gateway channels to create a communication layer between client browser and the gateway: var gvc = new r.GatewayChannel(); gvc.name = "gwc"; gvc.process = function(buffer){ console.log(buffer.getByte()); console.log(buffer.getLittle...
3.8 – Configuration file and others
You can use the appcfg.js file to configure some parameters for the client. For more information, please check the source code of the file: sparkview_root_directory/html/appcfg.js
4.1 – HTTP API
You can use HTTP request to create a server, symlink dynamically if you don't want to write a plug-in for the gateway. To use the HTTP server, you’ll need to configure a password in gateway.conf: Password = yourPassword Then you can use MD5 hash of this passw...
4.2 – Plug-in
The gateway is a multi-thread application, so make sure your plug-in is: Thread safe. Spawn a thread if the operation takes more than 5 seconds, otherwise, it could cause a network timeout exception and block the gateway. Use Collections.synchronizedList(),Co...
4.2.1 – Start gateway and the plug-in example project in Eclipse
Download the plug-in example:http://remotespark.com/Plugin.zip Extract the zip to your Eclipse workspace and run the follwing actions: File -> Import Click "Next" "Browse" to your workspace directory Select the Plugin project. Click "Finish" Right click on th...
4.2.2 – Handshake plug-in
Handshake plug-in is invoked before establishing a RDP connection. It’s a good place to verify, modify or refuse the connection. You can put any parameter you want when you create a connection on the client side. For example, you can put user’s session id (ses...
4.2.3 – Deploy your plug-in
Export the jar file: Right click on the project, "Export", select "Runable JAR file" under Java. Choose "SparkGateway - Plugin" in Launch configuration. Choose export destination. Click "Finish" Make sure "Extract required libraries into generated JAR" selec...
Appendix A – Integration with symlink use case
Actors: User, User Portal, Spark Gateway Preconditions: User Portal: Have user credentials in plain text. Spark Gateway: Configure password in gateway.conf. Allow IP addresses of User Portal to access the Spark Gateway API (Optional, Admin Manual 3.25). Cre...
Appendix B – Integration with third party application or HTTP service
Actors: User Portal, Spark Gateway, Third party application or HTTP server Preconditions: User Portal: Prepare a token which can be used to verify user. Spark Gateway: Configure authToken.name, authToken.exec, authToken.sucessCode in gateway.conf. Basic fl...
Appendix C – Integration with plugin use case
Actors: User, User Portal, Spark Gateway Preconditions: User Portal: Have user credentials in plain text. Provide a service to verify the user (optional). SparkView: Write a simple plugin in java for Spark Gateway. Disable VNC access by setting vnc = false ...
Appendix D – Chromium Embedded Framework (CEF), WebView and Electron
You can use CEF or Electron to make a standalone client, so SparkView client can access local resource directly (clipboard), and override some shortcuts keys reserved by the browser (Ctrl+T/W etc). Let Spark View know it can access the clipboard directly by s...
4.3 – Downloading files unprompted
Users can download files through custom apps and programs. This can be archived by using the clipboard redirection: Make sure clipboard redirection is enabled, and copyFile=true in gateway.conf. Set fileUnprompted=xlsx,xls (Excel files in this case, change to...