Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-145

Specify seraph config file location using a system property

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.1.1
    • None
    • true

      We have a lot of JIRA installations in our company where some of them require different seraph configurations. In order to keep our installations as equal as possible it would be great if we could specify a system property which points to a installation specific configuration location path. Here's what i did in my own seraph fork:

      	public static SecurityConfig getInstance() {
      		if (instance == null) {
      			String configLocation = System.getProperty("seraph.config.location",
      							SecurityConfigImpl.DEFAULT_CONFIG_LOCATION);
      			loadInstance(configLocation);
      		}
      		return instance;
      	}
      

              Unassigned Unassigned
              571a7f401a6f Dieter Greiner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                14 years, 41 weeks, 1 day ago