aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-01-19 08:39:41 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-01-19 08:39:41 +0000
commitfd061712168813934075fc0a1873176561aa4ec0 (patch)
tree9b37633de8b43f23cf5c1d629704c41464c44e28
parent31627d7b351c61d3c5cee0445770700efd0459e4 (diff)
downloadmoa-id-spss-fd061712168813934075fc0a1873176561aa4ec0.tar.gz
moa-id-spss-fd061712168813934075fc0a1873176561aa4ec0.tar.bz2
moa-id-spss-fd061712168813934075fc0a1873176561aa4ec0.zip
Setting download time in CRL source.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@795 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java
index c8a454e9f..3bfa27ef3 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java
@@ -12,6 +12,7 @@ import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLStreamHandler;
import java.util.Collection;
+import java.util.Date;
import at.gv.egovernment.moa.logging.Logger;
@@ -56,6 +57,7 @@ public class CRLRetriever implements RevocationInfoRetriever
InputStream crlInputStream = crlUrl.openStream();
source.readFrom(crlInputStream, tid);
+ source.setDownloadTime(new Date());
crlInputStream.close();
}
catch (Exception iox)