6
Include SAS JAR Files in the System Classpath
The SAS JAR files that you copied in the previous step provide the classes that are needed for the SAS
trusted login module. This step instructs you to copy them to a directory within the domain
directory that hosts the SAS Web applications. Also, the classes in the JAR files must be made
available to the system classpath. This step provides two strategies for adding them to the classpath.
Follow these steps:
1. Make a webauth directory and then copy the SAS JAR files to the directory:
mkdir SAS-config-dir/Lev1/Web/SASDomain/webauth
The sas.svc.sec.login.weblogic.mbean.jar file contains an MBean implementation that
lets you use the WebLogic Administration Console to add and configure the SAS trusted login
module as a WebLogic authentication provider. The other JAR files contain supporting classes
for the SAS trusted authentication provider.
2. Add the JAR files to the system classpath. Perform one of the following three options:
If your software was installed in 09w21 or later, the JAR files already exist in the file but are
commented out. Remove the comment characters at the beginning of each line.
Modify the common environment script in the WebLogic installation. This makes the classes
available to all the tools and servers that are configured to use the installation of WebLogic
on the current machine. Modify the classpath in the following script:
o WL_HOME/common/bin/commEnv.sh
o For Windows operating environments, the script is named commEnv.cmd.
Modify the wrapper script in SASDomain/bin. This option is effective if you started from an
automated configuration performed by the SAS Deployment Wizard or used the sample domain
that is provided with a manual configuration as a guide. If you choose this option, then you must
use the tools and commands such as wlst.cmd, startNodeManager.cmd, and
installNodeMgrSvc.cmd from the SASDomain/bin directory. Modify the classpath in the
following wrapper script:
o SAS-config-dir/Lev1/Web/SASDomain/bin/commEnvSAS.sh
For Windows operating environments, the script is named commEnvSAS.cmd.
UNIX
For UNIX operating environments, add the lines in bold to include the JAR files in the classpath.
Each of the environment variables must be added all on one line. Change the value of
WEBAUTH to match the location of the JAR files in step 1. Make these additions immediately
before the statement export WEBLOGIC_CLASSPATH.
Commenti su questo manuale