aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-24 16:00:55 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-24 16:00:55 +0000
commit0f593a0a8e39f30b17de189af6e2bcf7635dd73a (patch)
tree6a53f723a5ffcf60fc0df1f1e689862da79d0f14 /id.server/src/at/gv
parent3ff5bd208ee2b91a61115fd8aa8ca144d3a065a8 (diff)
downloadmoa-id-spss-0f593a0a8e39f30b17de189af6e2bcf7635dd73a.tar.gz
moa-id-spss-0f593a0a8e39f30b17de189af6e2bcf7635dd73a.tar.bz2
moa-id-spss-0f593a0a8e39f30b17de189af6e2bcf7635dd73a.zip
Fixed bug which uses PUBLIC_AUTHORITY_CODE_XPATH for
retrieving public authority certificate information. Must be PUBLIC_AUTHORITY_XPATH git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@468 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/parser/VerifyXMLSignatureResponseParser.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java
index 1c4a35226..4c49afb76 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java
@@ -31,8 +31,6 @@ public class VerifyXMLSignatureResponseParser {
private static final String MOA = Constants.MOA_PREFIX + ":";
/** Xpath prefix for reaching DSIG Namespaces */
private static final String DSIG = Constants.DSIG_PREFIX + ":";
- /** Xpath prefix for reaching SecurityLayer 1.1 Namespaces */
- private static final String SL11 = Constants.SL11_PREFIX + ":";
/** Xpath expression to the root element */
private static final String ROOT = "/" + MOA + "VerifyXMLSignatureResponse/";
@@ -133,7 +131,7 @@ public class VerifyXMLSignatureResponseParser {
verifyXMLSignatureResponse,DSIG_X509_CERTIFICATE_XPATH,"").getBytes("UTF-8")),true);
respData.setX509certificate(new X509Certificate(in));
- Element publicAuthority = (Element)XPathUtils.selectSingleNode(verifyXMLSignatureResponse,PUBLIC_AUTHORITY_CODE_XPATH);
+ Element publicAuthority = (Element)XPathUtils.selectSingleNode(verifyXMLSignatureResponse,PUBLIC_AUTHORITY_XPATH);
respData.setPublicAuthority(publicAuthority != null);
respData.setPublicAuthorityCode(XPathUtils.getElementValue(verifyXMLSignatureResponse,PUBLIC_AUTHORITY_CODE_XPATH,""));
respData.setSignatureCheckCode(new Integer(XPathUtils.getElementValue(verifyXMLSignatureResponse,SIGNATURE_CHECK_CODE_XPATH,"")).intValue());