From 9519294eec91b17dfb2e93ef1230697b9fb7117e Mon Sep 17 00:00:00 2001 From: rudolf Date: Mon, 26 Apr 2004 13:34:15 +0000 Subject: =?UTF-8?q?Unterst=C3=BCtzung=20f=C3=BCr=20den=20neuen=20NS=20urn:?= =?UTF-8?q?publicid:gv.at:namespaces:identitylink:1.2=20hinzugef=C3=BCgt?= =?UTF-8?q?=20(RSCH)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@116 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/id/auth/validator/IdentityLinkValidator.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'id.server/src/at/gv/egovernment/moa') diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java b/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java index 42e3e946f..4c584f745 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java @@ -132,7 +132,8 @@ public class IdentityLinkValidator implements Constants { "@AttributeNamespace", null); if (attributeName.equals("CitizenPublicKey")) { - if (attributeNS.equals("http://www.buergerkarte.at/namespaces/personenbindung/20020506#")) { + if (attributeNS.equals("http://www.buergerkarte.at/namespaces/personenbindung/20020506#") || + attributeNS.equals("urn:publicid:gv.at:namespaces:identitylink:1.2")) { Element attributeValue = (Element) XPathUtils.selectSingleNode((Element) nl.item(i),SAML + "AttributeValue/" + DSIG + "RSAKeyValue"); if (attributeValue==null) @@ -142,10 +143,10 @@ public class IdentityLinkValidator implements Constants { throw new ValidateException("validator.02", null); } else - throw new ValidateException("validator.03", null); + throw new ValidateException("validator.03", new Object [] {attributeNS} ); } else - throw new ValidateException("validator.04", null); + throw new ValidateException("validator.04", new Object [] {attributeName} ); } //Check if dsig:Signature exists -- cgit v1.2.3