From 80608f716e4b86630af90d9e9e3f152ad9526824 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Thu, 18 Jan 2007 14:30:54 +0000 Subject: Setting IssueInstant from the identity link as verification date for identity link. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@789 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'id.server/src/at/gv/egovernment/moa/id/auth/parser') diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java index 9d8cff6f5..d8a57fd2f 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java @@ -157,6 +157,9 @@ public class IdentityLinkAssertionParser { + "Reference/" + DSIG + "Transforms"; + + /** The IssueInstant attribute of the SAML assertion */ + private static final String ISSUE_INSTANT_ATTR = "IssueInstant"; /**This is the root element of the XML-Document provided by the Security Layer Card*/ private Element assertionElem; @@ -212,6 +215,7 @@ public class IdentityLinkAssertionParser { try { identityLink = new IdentityLink(); identityLink.setSamlAssertion(assertionElem); + identityLink.setIssueInstant(assertionElem.getAttribute(ISSUE_INSTANT_ATTR)); identityLink.setPrPerson((Element) XPathUtils.selectSingleNode(assertionElem, PERSON_XPATH)); identityLink.setIdentificationValue( -- cgit v1.2.3