Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

com.tarantella.tta.webservices
Interface ITarantellaAdmin


public interface ITarantellaAdmin

Defines the web services for accessing Secure Global Desktop (SGD) command-line functionality.

Some options are not supported: "--file", "--help".


Method Summary
 java.lang.String runCommand(java.lang.String sessionCookie, java.lang.String command, java.lang.String subCommand, java.lang.String[] parameters)
          Runs an SGD command-line.
 

Method Detail

runCommand

java.lang.String runCommand(java.lang.String sessionCookie,
                            java.lang.String command,
                            java.lang.String subCommand,
                            java.lang.String[] parameters)
                            throws java.rmi.RemoteException
Runs an SGD command-line. Not all command-lines are currently accessible through this method.

Parameters:
sessionCookie - Identifies the user session performing the operation.
command - The main SGD command, for example, "config".
subCommand - The sub-command, for example, "list".
parameters - The parameters to the command, for example, "--server-login".
Returns:
The output from the SGD command. The content varies from command to command.

 Sample response (from 'tarantella config list --server-login'):
 <?xml version="1.0" encoding="UTF-8"?>
 <tta:response xmlns:tta="http://xml.tarantella.com/2001/soapreply.xsd">
  <obj name="local">
   <attr name="tarantella-config-host-acceptnewconnections">enabled</attr>
  </obj>
  <obj name="global">
   <attr name="tarantella-config-host-acceptnewconnections">enabled</attr>
  </obj>
 </tta:response>
 
Throws:
java.rmi.RemoteException - On receipt of a SOAP fault.
Since:
1.0

Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.