aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule_id-austria
diff options
context:
space:
mode:
Diffstat (limited to 'modules/authmodule_id-austria')
-rw-r--r--modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/utils/IdAustriaAuthHealthCheck.java2
-rw-r--r--modules/authmodule_id-austria/src/test/java/at/asitplus/eidas/specific/modules/auth/idaustria/test/utils/IdAustriaAuthHealthCheckTest.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/utils/IdAustriaAuthHealthCheck.java b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/utils/IdAustriaAuthHealthCheck.java
index 5e1d889e..7b94462a 100644
--- a/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/utils/IdAustriaAuthHealthCheck.java
+++ b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/utils/IdAustriaAuthHealthCheck.java
@@ -35,7 +35,7 @@ public class IdAustriaAuthHealthCheck implements HealthIndicator {
@Override
public Health health() {
String msNodeEntityID = authConfig.getBasicConfiguration(
- IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_METADATAURL);
+ IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_ENTITYID);
if (StringUtils.isEmpty(msNodeEntityID)) {
log.trace("No ID Austria EntityId in configuration. Skipping tests ... ");
diff --git a/modules/authmodule_id-austria/src/test/java/at/asitplus/eidas/specific/modules/auth/idaustria/test/utils/IdAustriaAuthHealthCheckTest.java b/modules/authmodule_id-austria/src/test/java/at/asitplus/eidas/specific/modules/auth/idaustria/test/utils/IdAustriaAuthHealthCheckTest.java
index 9856ca73..6c3fad63 100644
--- a/modules/authmodule_id-austria/src/test/java/at/asitplus/eidas/specific/modules/auth/idaustria/test/utils/IdAustriaAuthHealthCheckTest.java
+++ b/modules/authmodule_id-austria/src/test/java/at/asitplus/eidas/specific/modules/auth/idaustria/test/utils/IdAustriaAuthHealthCheckTest.java
@@ -66,7 +66,7 @@ public class IdAustriaAuthHealthCheckTest {
@Test
public void notActive() {
//set-up test
- config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_METADATAURL,
+ config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_ENTITYID,
null);
//perform check
@@ -82,7 +82,7 @@ public class IdAustriaAuthHealthCheckTest {
XMLParserException, UnmarshallingException, MarshallingException {
//set-up test
- config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_METADATAURL,
+ config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_ENTITYID,
mockServerUrl.url().toString());
injectValidHttpMetadata(mockServerUrl.url().toString());
@@ -99,7 +99,7 @@ public class IdAustriaAuthHealthCheckTest {
XMLParserException, UnmarshallingException, MarshallingException, ResolverException {
//set-up test
provider.clear();
- config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_METADATAURL,
+ config.putConfigValue(IdAustriaAuthConstants.CONFIG_PROPS_IDAUSTRIA_ENTITYID,
"http://localhost:1234/junit/metadata");
//perform check