From ee1e344b74f05f5ca32dcd91798ac4e5aca556e3 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Tue, 15 Nov 2005 11:56:57 +0000 Subject: Added id to constructor. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@570 d688527b-c9ab-4aba-bd8d-4036d912da1d --- id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'id.server/src/at') diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java index e17715fc5..3c37706e1 100644 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java +++ b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java @@ -47,6 +47,8 @@ public class PKIProfileImpl extends ObservableImpl public PKIProfileImpl(String trustStoreURI, boolean revocationChecking) { this.trustStoreURI = trustStoreURI; this.revocationChecking = revocationChecking; + String id = String.valueOf(System.currentTimeMillis()); + setId("id-" + id); } /** -- cgit v1.2.3