Passing the crowd.properties File as an Environment Variable
When integrating a client application with Crowd, you need a crowd.properties
file containing configuration details for that application. (See Important Directories and Files.)
You can pass the location of a client application's crowd.properties
file to the client application as an environment variable when starting the client application. This means that you can choose a suitable location for the crowd.properties
file, instead of putting it in the client application's WEB-INF/classes
directory.
This applies to the Crowd Administration Console's crowd.properties
file too. You may find this particularly useful when integrating with a WAR deployment of an integrated application.
Example:
-Dcrowd.properties={FILE-PATH}/crowd.properties