
Chapter 5 Tutorial: Security Configuration
Running the SSL sample applet
The SSL sample applet contains code for both a Java and a
C++ server component. The applet instantiates
and runs the JUserCredentialTest (Java) or CUserCredentialTest (C++)
component. The component retrieves and the applet displays information
about the client certificate.
Complete instructions for running the applet are in the file %JAGUAR%\html\classes\Sample\SecurityDemo\readme.html.
Follow the instructions in the readme.html file
to do the following:
-
Import the SecurityDemo package
into Jaguar Manager.
The SecurityDemo package contains a Java
and a C++ component. These components both implement
the SecurityDemo::UserCredentialTest interface.
-
Generate stubs and skeletons.
You need to generate the stub files for the Java applet and
the skeleton files for the server component.
-
Compile the Java source files.
-
Run the applet.
You are instructed to load the HTML page that contains the
applet at port 8080. If you connect to port 8080, authentication
requirements are determined by the IIOP listener to which the applet
connects.
You can also load the HTML page by connecting to the HTTPS
listener port 8083 that you created earlier. Before the browser
loads the page, you need to accept Jaguar's certificate
and supply a personal certificate for client authentication.
The SSL sample applet connects to the preconfigured IIOP listeners,
IIOP at port 9000, IIOPS at port 9001, and IIOPS at port 9002. For
the applet to run successfully, verify that the host name for these
listeners is the same as the host name for the HTTPS listener (8083).
Refer to "Preconfigured listeners" in the Jaguar
CTS System Administration Guide for more information.
Copyright © 2000 Sybase, Inc. All rights reserved.
|
|