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-rights-admin — Granting or revoking permissions
Synopsis
cas-rights-admin [common options] [ grant | revoke ] userGroupName objectSpecDesc objectSpec actionSpecDesc actionSpec
Tool description
Use cas-rights-admin to grant or revoke rights.
Granting Permissions To A User Group On An Object/Object Group
The user may grant permissions to a user group on an object or object group to perform a service action or service action group (that is, to perform any action that is a member of the service action group to which permission is granted), provided the user has both:
- cas/grant permission on the object or object group, and
- permission to perform the service action or service action group on the object or object group.
casAdmin$cas-rights-admin [common options] grantuserGroupNameobjectSpecDescobjectSpecactionSpecDescactionSpec
where:
-
userGroupName - Indicates the user group to be granted permission.
-
objectSpec - Indicates the identifier for the object or object group.
-
objectSpecDesc Indicates the type:
objectobjectGroup
-
actionSpec - Indicates the identifier for action or action group.
-
actionSpecDesc Indicates the type:
serviceActionserviceActionGp
Revoking A Policy In The CAS Database
The user may revoke a policy in the CAS database if the user has cas/revoke permission on the object or object group on which the policy is defined.
casAdmin$cas-rights-admin [common options] revokeuserGroupNameobjectSpecDescobjectSpecactionSpecDescactionSpec
where:
-
userGroupName - Indicates the user group for which you want to grant permission.
-
objectSpecDesc Indicates the type of CasObject. Can be one of the following:
trustAnchoruseruserGroupobjectnamespaceserviceTypeuserGroup
-
objectSpec - Indicates the identifier for the object or object group.
-
actionSpec - Indicates the identifier for the action or action group.
-
actionSpecDesc - Indicates the type (serviceAction or serviceActionGp).
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)