Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2838: How to externalize values in centrifydc_fs.xml

Centrify DirectControl Plugins ,  

12 April,16 at 11:11 AM

Applies to: All versions of Centrify Web App Deployment

Question:

How to externalize values in
centrifydc_fs.xml used for elements such as "<federationServerUrl>" and "<entryUrl>" ?


Answer:

1) Allow the user to define a "token" in centrifydc_fs.xml. The value of the token will come from the JVM system properties. (not environment properties)
2) The token must be start with "${" and end with "}".
3) The token cannot contain the
"$", "{" and "}" characters.
4) All tokens must have
"com.centrify." as a prefix.

For example, change:
<federationServerUrl>https://adfsserver.centrify.com:443/adfs/fs/federationserverservice.asmx</federationServerUrl>"
To
<federationServerUrl>https://${com.centrify.ADFS_SERVER_HOST1}:${com.centrify.ADFS_SERVER_PORT1}/adfs/fs/federationserverservice.asmx</federationServerUrl>"

And start server with "-Dcom.centrify.ADFS_SERVER_HOST1=adfsserver.centrify.com -Dcom.centrify.ADFS_SERVER_PORT1=443".

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.