10 can i launch external applications from applet, Can i launch external applications from applet – CIRCUTOR PowerStudio Series User Manual

Page 32

Advertising
background image

PowerStudio PowerStudio

32 User Manual

3.2.9 The software is not sending e-mails. What might be happening?

Check that your anti-virus is not blocking the software.

For security purposes, the software does not send e-mails if the mail server does not have the

Transport Layer Security (TSL) option activated and the mail server only supports Plain, Login or
NTLM authentication protocols, since these are not very secure for sending information.


If this is the case:

 To increase the security of your mail server and in order to allow the software to send e-mails,

TLS/SSL encryption should be enabled. If you want, you can add another authentication
method such cram-md5, digest-md5, gssapi or an external one.

 If TLS has not been activated, one of the previously suggested authentication proposals

should be added; the protocols already functioning in the mail server can be retained, since
they will not be used by the software. The authentication method for the smtp server CANNOT
be any of the following: plain, login or ntlm.

 If the system still does not send mails check that your e-mail server has a user with the same

name as the configured address. The software will use the configured e-mail address for the
user.


3.2.10 Can I launch external applications from applet?


For security reasons, Java Applets have some fairly significant limitations with regards

accessing the resources of the local machine on which they are running. One of these restrictions is
being able to run applications on the local machine. Nevertheless, this restriction may be disabled by
adding the following line to the java.policy permissions file situated in the installation of the JRE virtual
machine:

permission java.io.FilePermission "<<ALL FILES>>", "execute";


It must be noted, however, that the Applet cannot directly display files from the run control, in

the way SCADA can. So, if we wanted to show an image in applet it is not enough to enter the name of
the image in the run control, but rather we should enter the application we want to use to show the
image and, as a parameter, the image to show.

N.B: The option to launch external applications very much depends on the system in which

applet is running, and it is highly probable that it will only work in the system for which the application
has been developed.

3.2.11 How can I see the applet from a machine which is not running Windows?


The applet can be viewed without carrying out any other special action from all operating

systems that have Java Virtual Machine 1.5 (5.0) or later and an HTML browser. Among others, the
following operating systems would satisfy these requirements: Windows, Linux, Solaris SPARC,
Solaris x86, Solaris AMD64, Linux AMD64, etc.

3.2.12 Can I directly connect with a known IP when I execute the Applet? What

happens if there’s authentication? What parameters can I use to
configure the Applet application launch?

When launching the Applet, you have the option to add parameters to modify its behaviour.

The available parameters are as follows:

undecorated  Launches the client without borders (nor captions, nor margins for resizing).

This feature is used to run the applet on embedded screens (Multipunto, CHAdeMO, etc.).
Example: java -jar AppletScada.jar undecorated

Advertising