|
From: <pe...@us...> - 2003-11-21 04:45:46
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv10855/src/java/org/neuclear/receiver
Modified Files:
ReceiverServlet.java UnsupportedTransaction.java
Log Message:
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
Otherwise You will Finaliate.
Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
This should hopefully make everything more stable (and secure).
Index: ReceiverServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/ReceiverServlet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ReceiverServlet.java 11 Nov 2003 21:18:43 -0000 1.6
--- ReceiverServlet.java 21 Nov 2003 04:45:13 -0000 1.7
***************
*** 2,5 ****
--- 2,11 ----
* $Id$
* $Log$
+ * Revision 1.7 2003/11/21 04:45:13 pelle
+ * EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
+ * Otherwise You will Finaliate.
+ * Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
+ * This should hopefully make everything more stable (and secure).
+ *
* Revision 1.6 2003/11/11 21:18:43 pelle
* Further vital reshuffling.
***************
*** 91,99 ****
public abstract class ReceiverServlet extends XMLInputStreamServlet {
! public void init(ServletConfig config) throws ServletException {
super.init(config);
}
! protected void handleInputStream(InputStream is, HttpServletRequest request, HttpServletResponse response) throws IOException {
try {
receiver.receive(VerifyingReader.getInstance().read(is));
--- 97,105 ----
public abstract class ReceiverServlet extends XMLInputStreamServlet {
! public void init(final ServletConfig config) throws ServletException {
super.init(config);
}
! protected final void handleInputStream(final InputStream is, final HttpServletRequest request, final HttpServletResponse response) throws IOException {
try {
receiver.receive(VerifyingReader.getInstance().read(is));
***************
*** 106,114 ****
}
! protected void setReceiver(Receiver receiver) {
this.receiver = receiver;
}
! protected Receiver getReceiver() {
return receiver;
}
--- 112,120 ----
}
! protected final void setReceiver(final Receiver receiver) {
this.receiver = receiver;
}
! protected final Receiver getReceiver() {
return receiver;
}
Index: UnsupportedTransaction.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/UnsupportedTransaction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** UnsupportedTransaction.java 9 Nov 2003 03:27:19 -0000 1.3
--- UnsupportedTransaction.java 21 Nov 2003 04:45:13 -0000 1.4
***************
*** 24,27 ****
--- 24,33 ----
$Id$
$Log$
+ Revision 1.4 2003/11/21 04:45:13 pelle
+ EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
+ Otherwise You will Finaliate.
+ Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
+ This should hopefully make everything more stable (and secure).
+
Revision 1.3 2003/11/09 03:27:19 pelle
More house keeping and shuffling about mainly pay
***************
*** 44,53 ****
* Time: 1:48:58 PM
*/
! public class UnsupportedTransaction extends NeuClearException {
/**
*
* @param obj
*/
! public UnsupportedTransaction(SignedNamedObject obj) {
super("NeuClear Transaction not Supported by this Receiver: " + obj.getClass().getName());
}
--- 50,59 ----
* Time: 1:48:58 PM
*/
! public final class UnsupportedTransaction extends NeuClearException {
/**
*
* @param obj
*/
! public UnsupportedTransaction(final SignedNamedObject obj) {
super("NeuClear Transaction not Supported by this Receiver: " + obj.getClass().getName());
}
|