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: Administrator's Guide
Overview
Client Options
Using CA administrator command line clients
>Using CAS Query command line clients
Example of CAS Server Administration
CAS-enabled GridFTP Server
Using CAS Query Command line clients
The following queries can be run against the CAS server. These are typically used by CAS clients (who may not be administrators).
The user need cas/query permissions to perform these operations, that is the user must have permission to query on the CAS server object.
Example 1:
casUser$ cas-whoami [options]
where
- options : client options
Returns the CAS user nick of the client.
Example 2:
casUser$ cas-list-object [options] type
where
- options : client options
- type : trustAnchor (or) user (or) userGroup (or) object (or) objectGroup (or) objectGroup (or) namespace (or) serviceType (or) serviceAction (or) serviceActionGp
Returns a list of CasObjects in the database of the requested type.
Example 3:
casUser$ cas-get-object [options] type name
where
- options : client options
- type : trustAnchor (or) user (or) object (or) namespace (or) service Type
- name : nickname (or) nickname (or) objectNamesapce objectName (or) nickname (or) serviceTypeName (corresponding to the type)
Returns the particular object of the said type and name.
Example 4:
casUser$ cas-group-list-entries [options] type name
where
- options : client options
- type : Type of group. user (or) object (or) serviceAction
- name : Name of group
Returns list of group members.
Example 5:
casUser$ cas-find-policies [-c cas-url] type name
where
- [-c cas-url] : the URL of the CAS service
- type : trustAnchor (or) user (or) userGroup (or) object (or) objectGroup (or) namespace (or) service Type (or) serviceAction (or) serviceActionGroup
- name : nickname (or) nickname (or) groupName (or) objectNamespace|objectName (or) groupName (or) nickname (or) serviceTypeName (or) serviceType/Action (or) groupName (corresponding to the type)
Returns all applicable policies, both policies that are implicit to the CAS server and those that are external.
