bug fix to ensure valid and vorbaIds are generated and stored in vamsas object model
[vamsas.git] / src / org / vamsas / client / simpleclient / IdFactory.java
index 0f3cc36..80f8f28 100644 (file)
@@ -49,7 +49,7 @@ public class IdFactory extends VorbaIdFactory {
     unique.reset();
     unique.update(new Object[] { session, client, user}.toString().getBytes());
     // TODO: Ensure format of URNs and use standard composition methods.
-    idstring = client.getClientUrn()+":"+unique.getValue()+"/";
+    idstring = client.getClientName()+":"+unique.getValue()+".";
     extantids=new Hashtable();
   }
   /**