The MetadataService class is available on a "metadata" path and provides a single @GET method that returns the service metadata in XML format. It has the following properties which should be configured:
- String serviceAddress - The URL of the service
- String assertionConsumerServiceAddress - The URL of the RACS. If it is co-located with the service, then it can be the same URL as for the serviceAddress.
- String logoutServiceAddress - The URL of the logout service (if available).
- boolean addEndpointAddressToContext - Whether to add the full endpoint address to the values configured above. The default is false.