diff options
author | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-04-26 13:34:15 +0000 |
---|---|---|
committer | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-04-26 13:34:15 +0000 |
commit | 9519294eec91b17dfb2e93ef1230697b9fb7117e (patch) | |
tree | 455a1c460acb45e1294f1a358c22aa5c28eb224f /id.server/src/at/gv | |
parent | 9431d4a35e12cb4483f3726581933b8368f8f88c (diff) | |
download | moa-id-spss-9519294eec91b17dfb2e93ef1230697b9fb7117e.tar.gz moa-id-spss-9519294eec91b17dfb2e93ef1230697b9fb7117e.tar.bz2 moa-id-spss-9519294eec91b17dfb2e93ef1230697b9fb7117e.zip |
Unterstützung für den neuen NS urn:publicid:gv.at:namespaces:identitylink:1.2 hinzugefügt (RSCH)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@116 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java | 7 |
1 files changed, 4 insertions, 3 deletions
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 |