When creating a metadata template, the xml will contain some service endpoints. For example:
For deployments behind an LB, it's preferred to have:
If an entity is created in the console when logged in via the site URL, the location fields in the entity will use the site URL. If created when logged in directly to a server, the location will map to the server URL.
If an entity is created through use of ssoadm create-metadata-templ, there is no way to request the site URL be used.
Steps to reproduce:
1. Install OpenAM behind an LB and setup ssoadm.
2. Run create-metadata-templ.
3. Observer values in Location parameters for service endpoints are always mapped to the server ssoadm is run from.
There should be a way to populate these endpoints with the site URL.