summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/config
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-07-19 10:35:29 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-07-19 10:35:29 +0200
commit2c3c1d6bb748a0655a83fdf4cd26135042d898b9 (patch)
tree6feabd6d3a6a3aed7751154053b3487de4959d6d /src/main/java/at/gv/util/config
parent2d03e741a91f6155dce75952b0174e3e52a12740 (diff)
downloadegovutils-2.0.7.tar.gz
egovutils-2.0.7.tar.bz2
egovutils-2.0.7.zip
USP client integration2.0.7
switch to v2.0.7
Diffstat (limited to 'src/main/java/at/gv/util/config')
-rw-r--r--src/main/java/at/gv/util/config/EgovUtilConfiguration.java3
-rw-r--r--src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java15
2 files changed, 17 insertions, 1 deletions
diff --git a/src/main/java/at/gv/util/config/EgovUtilConfiguration.java b/src/main/java/at/gv/util/config/EgovUtilConfiguration.java
index 216e1f5..47b7b63 100644
--- a/src/main/java/at/gv/util/config/EgovUtilConfiguration.java
+++ b/src/main/java/at/gv/util/config/EgovUtilConfiguration.java
@@ -27,6 +27,9 @@ import at.gv.util.xsd.szr.pvp.PvpTokenType;
*/
public interface EgovUtilConfiguration {
+ String getConfigurationValue(String key);
+ String getConfigurationValue(String key, String defaultValue);
+
JaxWsSSLConfiguration getMOASPSSsslConfiguration();
JaxWsSSLConfiguration getMOAIDsslConfiguration();
JaxWsSSLConfiguration getMOAZSsslConfiguration();
diff --git a/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
index 66fa155..9693e0a 100644
--- a/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
+++ b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
@@ -108,7 +108,20 @@ public class EgovUtilPropertiesConfiguration implements EgovUtilConfiguration {
ersbsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.ersb");
}
- public JaxWsSSLConfiguration getMOASPSSsslConfiguration() {
+
+ @Override
+ public String getConfigurationValue(String key) {
+ return this.props.getProperty(key);
+
+ }
+
+ @Override
+ public String getConfigurationValue(String key, String defaultValue) {
+ return this.props.getProperty(key, defaultValue);
+
+ }
+
+ public JaxWsSSLConfiguration getMOASPSSsslConfiguration() {
return moaSPSSsslConfiguration;
}