Bug 5751

Summary: Refactor the command-line interface
Product: GridShib Reporter: Tom Scavo <trscavo@gmail.com>
Component: SAML/Binding ToolsAssignee: Tom Scavo <trscavo@gmail.com>
Status: RESOLVED FIXED    
Severity: normal CC: gridshib-dev@globus.org, kettimut@mcs.anl.gov, tfreeman@mcs.anl.gov, vwelch@uiuc.edu
Priority: P3    
Version: 0.3   
Target Milestone: beta   
Hardware: All   
OS: All   
Bug Depends on: 5301    
Bug Blocks: 5748    

Description From 2007-12-28 09:50:42
Refactor the GridShib SAML Tools command-line interface:

* Reorganize the class hierarchy.
** Implement org.globus.gridshib.common.BaseCLI.
** Rename org.globus.gridshib.saml.X509BasicCLI to
org.globus.gridshib.common.CommonCLI.
* Rationalize the command-line interface.
** Rationalize the short option names.
** Modify --config option to accept system-dependent file path.
** Modify --ssoResponse option to accept system-dependent file path.
** Make the usage strings more informative.
* Implement new command-line options.
** Add --saml command-line option.
** Add --properties command-line option.
** Add --asn1 command-line option.
** Add --infile command-line option.
** Add --oid command-line option.
------- Comment #1 From 2008-01-03 19:05:36 -------
All of the previous tasks have been completed.  Here are some additional notes:

- The --saml option has contextual meaning.  In the Issuer Tool, the --saml
option is an output option, while in the Binding Tool, it is an input option.
- The same is true of the --asn1 option.
- The --infile option is optional in all cases.  Its use with the Info Tool and
Binding Tool is straightforward.  In the case of the Issuer Tool, the --infile
option refers to arbitrary XML content that is bound to the Advice element of
the assertion.
- The --config and --ssoResponse options now take a system-dependent file path
as an argument.  These options still take file URLs for backward compatibility.
- The internal representations of --infile and --outfile were changed from
String to File.
- All --help options output detailed usage strings.
- The CLI options have been summarized in a table in the new User Guide.
------- Comment #2 From 2008-01-03 19:06:22 -------
This new CLI will appear in GridShib SAML Tools 0.3.0.