NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
3-8
The Installation-Specific servlet.config File
Example 3-3. An Installation-Specific servlet.config File
#
# VERSION=6.1.0
#
#
# The server_objectcode represents a SYMBOLIC LINK to your installed
# copy of the JVM (default /usr/tandem/java/bin/java)
#
set server_objectcode $root/bin/instA.ssc
#
# The NSJSP installation directory.
#
set env(NSJSP_HOME) /usr/tandem/java/
#################################################################
#
# Security Manager options. This allows the Java2 system code to check
# the policy currently in effect and perform access control checks. This
# enables us to allow the application and user Servlet/JSP code to run
# inside its own sandbox.
#
# NSJSP Java2 System policy file and Java2 VM option.
#
# Note: the "double" equalto signs "==" is not a typo!! This informs the
# JVM to use this file exclusively and that all others are to be ignored.
#
set env(JVM_POLICY_FILE) $env(NSJSP_HOME)/conf/iTP_catalina.policy
set NSJSP_SECMGR_POLICY -Djava.security.policy==$env(JVM_POLICY_FILE)
#
# By default, the JVM is run without a security manager.
#
set NSJSP_SECMGR -Dnsjsp.security.manager=none
#
# If you wish to run with a security Manager, uncomment the next
# statement ("set NSJSP_SECMGR ...").
#
# set NSJSP_SECMGR -Djava.security.manager
#################################################################
#
# NSJSP JAAS NonStopLoginModule configuration file.
#
set env(JAAS_CONFIG_FILE) $env(NSJSP_HOME)/conf/iTP_jaas.config
#
# By default, the JVM is run without a JAAS configuration file.
#
set NSJSP_JAAS_CONFIG -Dnsjsp.jaas.login.config=none
#
# If you wish to use the NSJSP JAAS NonStopLoginModule, uncomment the
# next statement ("set NSJSP_JAAS_CONFIG ...").
#
# Note: the "double" equalto signs "==" is not a typo!! This informs the
# JVM to use this file exclusively and that all others are to be ignored.
#
# set NSJSP_JAAS_CONFIG
# -Djava.security.auth.login.config==$env(JAAS_CONFIG_FILE)