Pablo,
I have an application.yml file in src/main/resources with all properties.
Some of them have variables for values:
cas:
authn:
saml-idp:
metadata:
file-system:
location: ${saml-idp.metadata.file-system.location}
At the bottom of the file I have default values (makes local running simple - but you could use prod values instead):
saml-idp:
metadata:
file-system:
location: file:/home/casrunner/idp/metadata
Then our jenkins job adds application.properties (also includes secrets):
saml-idp.metadata.file-system.location={{ saml-idp_metadata_location }}
service-registry.ldap.bind-credential={{ service_ldap_bind_credential }}
Filling in the specifics for the target deploy.
This way your problem is one of deployment, not cas.
You can set the directory of application.properties when starting tomcat:
-Dcas.standalone.configurationDirectory=/etc/cas/config
Not sure what you are referring to with host name.
Ray
On Fri, 2024-06-07 at 10:03 -0700, Pablo Vidaurri wrote: