Generating Metadata from CmdLine

Cantor, Scott cantor.2 at osu.edu
Mon May 4 09:56:47 EDT 2015


On 5/4/15, 9:50 AM, "Misagh Moayyed" <mmoayyed at unicon.net> wrote:

>Hi,
>I noticed that most if not all of the ANT tools in v3.1.1 that deal with generation of certs and keystores can be run from command line. The exception to this seems to be the metadata generator tool. Are there any recommended methods to generate metadata using the tool from command line?

The IdP tool doesn't know anything about the actual IdP configuration, so it has no basis to generate anything in particular. It relies on the inputs to the installer to generate an example, and is IMHO too tied to the installation process to be a basis for something more general.

I think any such tool would need to be built from the ground up to understand how to help manage key rollover and similar use cases, so it's not just a matter of generating some XML.

The shell script that's included with the SP is probably a simpler starting point if somebody was looking to generate metadata brute force right now, though it's fallen a bit out of date. There's nothing in Java that's comparable to that.

-- Scott



More information about the dev mailing list