Bugzilla – Bug 5751
Refactor the command-line interface
Last modified: 2008-04-25 21:12:29
You need to log in before you can comment on or make changes to this bug.
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.
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.
This new CLI will appear in GridShib SAML Tools 0.3.0.