This information is for a release that is no longer supported by the Globus Toolkit. The currently supported versions of the Globus Toolkit are 4.2 (recommended) and 4.0.
CAS: User's Guide
Overview
Generating CAS credentials (cas-proxy-init)
>Using CAS credentials (cas-wrap)
CAS Service Data
Writing CAS clients
Performance Measurements
Using CAS credentials (cas-wrap)
The cas-wrap program runs a grid-enabled program, causing it to use previously-generated CAS credentials.Its syntax is:
cas-wrap [-t tag | -p proxyfile ] command args
Both versions of this command run:
command args
in an environment in which command will use a previously-generated CAS credential.The first form should be used if cas-proxy-init was run with a tag argument; for example,
An environment variable, GLOBUS_LOCATION, needs to be set to point to the GT3.2 install location. If CAS clients have been deployed, then this script is placed in GLOBUS_LOCATION/bin. This directory needs to be added to the PATH for it to be executed from other locations.:
% cas-wrap -t my-community gsincftp myhost.edu
The above command will look for a credential generated by a previous execution of:
% cas-proxy-init -t my-community
and then set the environment to use that credential while running the command:
% gsincftp myhost.edu
The second form should be used if cas-proxy-init was run with the –o option; for example:
% cas-wrap –p /path/to/my/cas/credential gsincftp myhost.edu
will look for a credential generated by a previous execution of:
% cas-proxy-init –o /path/to/my/cas/credential
and then set the environment to use that credential while running the command
% gsincftp myhost.edu
Most grid-enabled programs (specifically, most programs written using the Globus GSI libraries) will honor the environment variable X509_USER_PROXY ; if this variable is set, they will use its value as the name of a file containing the proxy credential to use when authenticating.A user could, for example, cause the gsincftp program to use CAS credentials by running these two commands:
% setenv X509_USER_PROXY /path/to/my/cas/credential
The cas-wrap utility program works by running the specified command in an environment in which that variable is set.
