diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-23 11:27:59 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-23 11:27:59 +0100 |
commit | 4973b940cc8ce0885653ed7c0223cbedd3dde3bc (patch) | |
tree | d711ed5b272631c9a24cd346a19e2c0b6426f83e /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config | |
parent | fee3c9a59945a2ee74029dfe63c074c753a51dbf (diff) | |
download | pdf-as-4-4973b940cc8ce0885653ed7c0223cbedd3dde3bc.tar.gz pdf-as-4-4973b940cc8ce0885653ed7c0223cbedd3dde3bc.tar.bz2 pdf-as-4-4973b940cc8ce0885653ed7c0223cbedd3dde3bc.zip |
added Statistics Facilities to PDF-AS Web
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java index 46430724..8404fa65 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java @@ -47,7 +47,8 @@ public class WebConfiguration implements IConfigurationConstants { public static final String MOBILE_BKU_URL = "bku.mobile.url"; public static final String ERROR_DETAILS = "error.showdetails"; public static final String PDF_AS_WORK_DIR = "pdfas.dir"; - + public static final String STATISTIC_BACKEND_LIST = "statistic.backends"; + public static final String MOA_SS_ENABLED = "moa.enabled"; public static final String SOAP_SIGN_ENABLED = "soap.sign.enabled"; public static final String SOAP_VERIFY_ENABLED = "soap.verify.enabled"; @@ -252,6 +253,19 @@ public class WebConfiguration implements IConfigurationConstants { return properties.getProperty(KEYSTORE_LIST + "." + keyIdentifier + "." + KEYSTORE_KEY_PASS); } + public static List<String> getStatisticBackends() { + List<String> statisticBackends = new ArrayList<String>(); + String commaList = properties.getProperty(STATISTIC_BACKEND_LIST); + if(commaList != null) { + String[] commaLists = commaList.split(","); + for(int i = 0; i < commaLists.length; i++) { + statisticBackends.add(commaLists[i].trim()); + } + return statisticBackends; + } + return null; + } + public static boolean getMOASSEnabled() { String value = properties.getProperty(MOA_SS_ENABLED); if (value != null) { |