Software Links
Getting Started
- Doc Structure
- A Globus Primer
- Globus Is Modular!
- Quickstart
- Installing GT
- Platform Notes
- Migrating from GT2
- Migrating from GT3
Reference
- PDF version
- Best Practices
- Coding Guidelines
- API docs
- Public Interfaces
- Resource Properties
- Samples
- Glossary
- Performance Studies
Common Runtime
Security
Data Mgt
Information Svcs
Execution Mgt
Name
cas-wrap — Runs program with CAS credentials
Synopsis
cas-wrap [common options] [ -p proxyfile | -t tag ]
Tool description
The cas-wrap command runs a grid-enabled program, causing it to use previously-generated CAS credentials.
This command invokes the given command with the given argument using the specified previously-generated CAS credential. For example:
casAdmin$ cas-wrap -t my-community gsincftp myhost.eduwill look for a credential generated by a previous execution of:
casAdmin$ cas-proxy-init -t my-communityand then set the environment to use that credential while running the command:
casAdmin$ gsincftp myhost.eduThe second form should be used if cas-proxy-init was
run with the -p option. For example:
casAdmin$ cas-wrap -p /path/to/my/cas/credential gsincftp myhost.eduwill look for a credential generated by a previous execution of:
casAdmin$ cas-proxy-init -p /path/to/my/cas/credential and then set the environment to use that credential while running the command:
casAdmin$ gsincftp myhost.eduOptions
Command-specific Options
- -p
proxyfile Specify the file in which to store the CAS credential. Cannot be used with the
-toption.- -t
tag Choose a filename in which to store the CAS credential based on the value
tag. Cannot be used with the-poption.
Common Options
- -a, --anonymous
Enables anonymous authentication. Only supported with transport security or the GSI Secure Conversation authentication mechanism.
- -c, --serverCertificate
<file> Specifies the server's certificate file used for encryption. Only needed for the GSI Secure Message authentication mechanism.
- -debug
Runs the client with debug message traces and error stack traces.
- -f, --descriptor
<file> Specifies a client security descriptor. Overrides all other security settings.
- -help
Prints the usage message for the client.
- -l, --contextLifetime
<value> Sets the lifetime of the client security context.
valueis in milliseconds. Only supported with the GSI Secure Conversation authentication mechanism [FIXME glossterm?].- -m, --securityMech
<type> Specifies the authentication mechanism. The value
typecan be:msgfor GSI Secure Message, orconvfor GSI Secure Conversation.
- -p, --protection
<type> Specifies the protection level.
typecan be:sigfor signature, orencfor encryption.
- -x, --proxyFilename
<value> Sets the proxy file to use as client credential.
- -s
cas-url Sets the CAS Service instance, where
cas-urlis the URL of the CAS service instance. Alternatively, an environment variable can be set as shown here.The instance URL typically looks like
http://Host:Port/wsrf/services/CASService, whereHostandPortare the host and port where the container with the CAS service is running.- -z
authorization Specifies the type of authorization used, such as
selforhost.If you cannot use a standard method for authorization, you can use the specific CAS server's identity as the value.
Alternatively, an environment variable can be set as shown here.
If none of the above are set, host authorization is done by default and the expected server credential is
cas/, where<fqdn><fqdn>is the fully qualified domain name of the host on which the CAS service is up.![[Note]](/docbook-images/note.gif)
Note If the service being contacted is using GSI Secure Transport [FIXME glossterm], then the container credentials configured for the service will be used, even if service/resource level credentials are configured. Hence authorization needs to be done based on the DN of the container credentials.
- -v
Prints the version number.
![]() | Important |
|---|---|
If you have an asterisk (*) in your command, you might need to escape it with a backslash ( \ ). |
![[Important]](/docbook-images/important.gif)