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

Specify seraph config file location using a system property

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • 2.1.1
    • None
    • None
    • true

    Description

      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;
      	}
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              12 years, 21 weeks, 3 days ago