From 257c27091b20e1fbcf7ccce8bfe8b908cb33a62e Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Thu, 6 Mar 2014 08:18:18 +0100 Subject: fixed error message --- .../at/gv/egovernment/moa/id/protocols/stork2/AttributeCollector.java | 2 +- .../src/main/resources/resources/properties/id_messages_de.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'id/server') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AttributeCollector.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AttributeCollector.java index f660e1b33..409e506af 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AttributeCollector.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AttributeCollector.java @@ -263,7 +263,7 @@ public class AttributeCollector implements IAction { if(!(existing.isEmptyValue() && existing.isEmptyComplexValue())) if(!(existing.getValue().equals(current.getValue()) || existing.getComplexValue().equals(current.getComplexValue()))) { Logger.error("Attribute Value does not match the value from first authentication!"); - throw new MOAIDException("stork.14", null); + throw new MOAIDException("stork.16", new Object[] {existing.getName()}); } target.get(current.getName()).setStatus(current.getStatus()); diff --git a/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties b/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties index 99d5d7612..f6a296fde 100644 --- a/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties +++ b/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties @@ -210,6 +210,7 @@ stork.12=Konnte keine VIDP Konfiguration finden stork.13=Fehler beim Sammeln eines Attributes in einem AttributProviderPlugin stork.14=Es wurde weder Authentifizierungs/ noch Attributerequest empfangen stork.15=Unbekannte request. +stork.16=Ein Attribute aus zwei verschiedenen Quellen unterscheidet sich\: {0} pvp2.00={0} ist kein gueltiger consumer service index pvp2.01=Fehler beim kodieren der PVP2 Antwort -- cgit v1.2.3