|
From: <pe...@us...> - 2003-10-03 23:48:59
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/source
In directory sc8-pr-cvs1:/tmp/cvs-serv32670/src/java/org/neuclear/source
Modified Files:
CachedSource.java
Log Message:
Did various security related updates in the pay package with regards to immutability of fields etc.
PaymentReceiver should now be operational. Real testing needs to be done including in particular setting the
private key of the Receiver.
A new class TransferGlobals contains usefull settings for making life easier in the other contract based classes.
TransferContract the signed contract is functional and has a matching TransferRequestBuilder class for programmatically creating
TransferRequests for signing.
TransferReceiptBuilder has been created for use by Payment processors. It is used in the PaymentReceiver.
Index: CachedSource.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/source/CachedSource.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CachedSource.java 24 Sep 2003 23:56:49 -0000 1.3
--- CachedSource.java 3 Oct 2003 23:48:51 -0000 1.4
***************
*** 3,6 ****
--- 3,15 ----
* $Id$
* $Log$
+ * Revision 1.4 2003/10/03 23:48:51 pelle
+ * Did various security related updates in the pay package with regards to immutability of fields etc.
+ * PaymentReceiver should now be operational. Real testing needs to be done including in particular setting the
+ * private key of the Receiver.
+ * A new class TransferGlobals contains usefull settings for making life easier in the other contract based classes.
+ * TransferContract the signed contract is functional and has a matching TransferRequestBuilder class for programmatically creating
+ * TransferRequests for signing.
+ * TransferReceiptBuilder has been created for use by Payment processors. It is used in the PaymentReceiver.
+ *
* Revision 1.3 2003/09/24 23:56:49 pelle
* Refactoring nearly done. New model for creating signed objects.
***************
*** 38,46 ****
package org.neuclear.source;
- import org.apache.commons.collections.LRUMap;
import org.neuclear.id.NSTools;
import org.neuclear.id.SignedNamedObject;
import org.neudist.utils.NeudistException;
import java.util.Map;
--- 47,55 ----
package org.neuclear.source;
import org.neuclear.id.NSTools;
import org.neuclear.id.SignedNamedObject;
import org.neudist.utils.NeudistException;
+ import java.util.HashMap;
import java.util.Map;
***************
*** 52,56 ****
public CachedSource(Source src) {
this.src = src;
! cache = new LRUMap(CACHE_SIZE);
}
--- 61,65 ----
public CachedSource(Source src) {
this.src = src;
! cache = new HashMap(CACHE_SIZE);
}
|