diff options
Diffstat (limited to 'id')
2 files changed, 8 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/ConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/ConfigurationProvider.java index 24def1e02..f24f4e646 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/ConfigurationProvider.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/ConfigurationProvider.java @@ -46,13 +46,12 @@ package at.gv.egovernment.moa.id.config; -import java.math.BigInteger; -import java.security.Principal; -import java.security.cert.X509Certificate; import java.util.Map; import at.gv.egovernment.moa.id.data.IssuerAndSerial; +import com.fasterxml.jackson.annotation.JsonProperty; + /** * Base class for <code>AuthConfigurationProvider</code> and <code>ProxyConfigurationProvider</code>, * providing functions common to both of them. @@ -131,10 +130,12 @@ public class ConfigurationProvider { * * @return the directory */ + @JsonProperty("getRootConfigFileDir") public String getRootConfigFileDir() { return rootConfigFileDir; } + @JsonProperty("getDefaultChainingMode") public String getDefaultChainingMode() { return defaultChainingMode; } @@ -144,6 +145,7 @@ public class ConfigurationProvider { * Returns the trustedCACertificates. * @return String */ + @JsonProperty("getTrustedCACertificates") public String getTrustedCACertificates() { return trustedCACertificates; @@ -152,6 +154,7 @@ public class ConfigurationProvider { /** * @return the certstoreDirectory */ +@JsonProperty("getCertstoreDirectory") public String getCertstoreDirectory() { return certstoreDirectory; } @@ -159,6 +162,7 @@ public String getCertstoreDirectory() { /** * @return the trustmanagerrevoationchecking */ +@JsonProperty("isTrustmanagerrevoationchecking") public boolean isTrustmanagerrevoationchecking() { return trustmanagerrevoationchecking; } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java index 0049813d3..5ccaa4f35 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java @@ -1054,6 +1054,7 @@ public class AuthConfigurationProvider extends ConfigurationProvider { return Arrays.asList(prop.replaceAll(" ", "").split(",")); } + @JsonProperty("isMonitoringActive") public boolean isMonitoringActive() { String prop = props.getProperty("configuration.monitoring.active", "false"); return Boolean.valueOf(prop); |