Вы находитесь на странице: 1из 29

How To

Slide 2. Connect Desktop to T24

Slide 7: Enable SSL

Slide 15: Workload “RoundTrip” in action

Slide 19: “Environment” in action

Slide 24: Enable Authentication


Connect Desktop

This demo shows how to connect Desktop to


T24 with jConman using the default settings
Connect Desktop
• Compile ExecGlobus.b
• It’s in <TCServer>/directory/INFOBASIC/
• test by executing it.

• Edit jConsrv.xml
• jConsrv worker process
• set to “C:\temenos\NEWMASTER5005\demo.run\bin\execglobus.exe”
• Edit TCServer.xml
• Activate jconsrvlistener
• <LISTENER Name="jConsrv" type="jconsrv" active="true">
• Set the environment vars
• set > C:\temenos\tcserver\conf\TCServer\jconsrv.vars
• Run the solution
• First jConman then TCServer
• Test with jDrac
• “jDrac localhost 3030”
Connect Desktop
• Setup negoc.txt
Connect Desktop
• Select socket on port “3030” (Default):
Connect Desktop
• Enter your GLOBUS User and “OK”:
Enable SSL

This Demo shows how to enable SSL at the


connection manaager level and Desktop level
Enable SSL
• Edit ../conf/jConman/jConman.xml

• Edit ../conf/jConsrv/jConsrv.xml
Enable SSL
• Run the Windows certificate manager:
• “certmgr.msc”

• Import certificate:

• File Type “.p12”


Enable SSL
• Import the “../conf/client.p12” file
Enable SSL
• ...... The password is “temenos” .....

• Select “Automatically select the .......”

• Click on “Yes” on the warning message Box.


Enable SSL
• Check the certificate importation:

Click on “Refresh” to view the imported certificate


Enable SSL
• Run jConman (jConman.bat)
• Run jConsrv (startlistener:jConsrv)

• Check “enable SSL” on the Desktop options


Enable SSL
• Desktop connected using SSL :
Workload “RoundTrip” in action

This demo shows how to execute multiple


jConsrv and how test that jConman send the
address of all the registered jConsrv one after
the other.
Workload “RoundTrip” in action
• Stop the TCServer
• Edit the ../conf/TCServer/TCServer.xml
• Add two more jConsrv listener like:
Workload “RoundTrip” in action
• Start TCServer
• TCServer shows the three listener:

• Start ../bin/jConmanTest.bat
• Change the port to jConman’s port

• Connect and send the default message


(“desktop::<eot>)
Workload “RoundTrip” in action
• The jConman’s answers is :

• “Disconnect” ... “Connect” ... “Send:

• “Disconnect” ... “Connect” ... “Send:

• “Disconnect” ... “Connect” ... “Send:


“Environment” in action

This demo shows how to execute multiple


jConsrv in different environment. And shows
how desktop ask the user on which
environment he wish to connect.
“Environment” in action
• Stop jConman and TCServer
• Edit ../conf/TCServer/tcserver.xml like:
“Environment” in action
• Edit ../conf/jConman/jConmanenv.xml:
• Everybody can connect to env “A” and “B”
• Only “NICOLAS01”, “NICOLAS02” for env “C”

• Start jConman then TCServer


“Environment” in action
• Start Desktop using user defined for all env.
“Environment” in action
• Select a user defined for only two env:
Enable Authentication

This demo shows how to perform an


authentication using the jBase jAuthentication
server. It shows as well how to use jConman in
“Telnet simulation”.
Enable Authentication
• Stop TCServer
• Edit the ../conf/jConsrv/jConsrv.xml
• Set “standalone” to “true
• disable SSL (Telnet doesn’t support it)

• Copy “jAuthenticate.jar” and “jbase.jar”


From: <jBasePath>/java/lib/
To: <TCServer>/ext/
Enable Authentication
• Start jAuthenticate server
• “jAuthServer.bat start”
from $JBCRELEASEDIR/bin

• A new console appears:


Enable Authentication
• Start TCServer
• Start Desktop and set the option:
Enable Authentication
• Check Negoc.txt to have:
• Login: [uid]
• Password: [password]

• Use the windows login/pwd:


Enable Authentication
• Use your T24 user/pwd to logon

• When finished stop jAuthentication server:


• “jAuthServer.bat stop”

Вам также может понравиться