You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(119) |
Oct
(111) |
Nov
(238) |
Dec
(395) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(239) |
Feb
(59) |
Mar
(354) |
Apr
(489) |
May
(23) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
(14) |
Nov
(17) |
Dec
(9) |
| 2007 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(6) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(13) |
Nov
(35) |
Dec
(40) |
| 2009 |
Jan
(19) |
Feb
(21) |
Mar
(16) |
Apr
(18) |
May
(36) |
Jun
(20) |
Jul
(32) |
Aug
(11) |
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(13) |
| 2010 |
Jan
(5) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(3) |
| 2012 |
Jan
(3) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(8) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(8) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2013 |
Jan
(2) |
Feb
(1) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(5) |
Jul
(6) |
Aug
(7) |
Sep
(5) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
| 2014 |
Jan
(13) |
Feb
(4) |
Mar
(7) |
Apr
(9) |
May
(20) |
Jun
(13) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
| 2015 |
Jan
(3) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
(4) |
Dec
(2) |
| 2017 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <pe...@us...> - 2003-11-28 00:11:53
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/contracts/builders
In directory sc8-pr-cvs1:/tmp/cvs-serv18411/src/java/org/neuclear/asset/contracts/builders
Modified Files:
TransferBuilder.java
Log Message:
Getting the NeuClear web transactions working.
Index: TransferBuilder.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/contracts/builders/TransferBuilder.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TransferBuilder.java 21 Nov 2003 04:43:03 -0000 1.6
--- TransferBuilder.java 28 Nov 2003 00:11:50 -0000 1.7
***************
*** 6,11 ****
import org.neuclear.asset.contracts.Asset;
import org.neuclear.asset.contracts.TransferGlobals;
- import org.neuclear.commons.Utility;
import org.neuclear.commons.NeuClearException;
import org.neuclear.commons.time.TimeTools;
import org.neuclear.id.Identity;
--- 6,11 ----
import org.neuclear.asset.contracts.Asset;
import org.neuclear.asset.contracts.TransferGlobals;
import org.neuclear.commons.NeuClearException;
+ import org.neuclear.commons.Utility;
import org.neuclear.commons.time.TimeTools;
import org.neuclear.id.Identity;
***************
*** 35,38 ****
--- 35,41 ----
$Id$
$Log$
+ Revision 1.7 2003/11/28 00:11:50 pelle
+ Getting the NeuClear web transactions working.
+
Revision 1.6 2003/11/21 04:43:03 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 103,106 ****
--- 106,111 ----
element.add(TransferGlobals.createAttribute(element, "amount", Double.toString(amount)));
element.add(TransferGlobals.createAttribute(element, "valuetime", TimeTools.formatTimeStamp(valuetime)));
+ if (!Utility.isEmpty(comment))
+ element.add(TransferGlobals.createElement("comment", comment));
}
|
|
From: <pe...@us...> - 2003-11-24 23:37:36
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml/soap
In directory sc8-pr-cvs1:/tmp/cvs-serv16987/src/test-cactus/org/neuclear/xml/soap
Added Files:
SOAPServletTest.java
Log Message:
Testcase for SOAPServlet
--- NEW FILE: SOAPServletTest.java ---
package org.neuclear.xml.soap;
import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;
import org.apache.cactus.WebResponse;
import org.dom4j.DocumentHelper;
import javax.servlet.ServletException;
import java.io.IOException;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: SOAPServletTest.java,v 1.1 2003/11/24 23:37:33 pelle Exp $
$Log: SOAPServletTest.java,v $
Revision 1.1 2003/11/24 23:37:33 pelle
Testcase for SOAPServlet
*/
/**
* User: pelleb
* Date: Nov 24, 2003
* Time: 4:39:55 PM
*/
public class SOAPServletTest extends ServletTestCase{
/*
public void beginSoapRequest(WebRequest theRequest){
theRequest.setContentType("text/xml");
DocumentHelper.
theRequest.
}
public void testSoapRequest() throws ServletException, IOException {
EchoSOAPServlet servlet=new EchoSOAPServlet();
servlet.init(config);
servlet.doPost(request,response);
}
public void endSoapRequest(WebResponse theResponse){
}
*/
}
|
|
From: <pe...@us...> - 2003-11-24 23:33:41
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv16404/src/test-cactus/org/neuclear/receiver
Added Files:
ReceiverServletTest.java
Log Message:
More Cactus unit testing going on.
--- NEW FILE: ReceiverServletTest.java ---
package org.neuclear.receiver;
import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;
import org.neuclear.auth.AuthenticationTicket;
import org.neuclear.commons.NeuClearException;
import org.neuclear.commons.crypto.signers.JCESigner;
import org.neuclear.commons.crypto.signers.TestCaseSigner;
import org.neuclear.id.SignedNamedObject;
import org.neuclear.id.builders.AuthenticationTicketBuilder;
import org.neuclear.xml.ElementProxy;
import org.neuclear.xml.XMLException;
import org.neuclear.xml.xmlsec.XMLSecTools;
import java.security.GeneralSecurityException;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: ReceiverServletTest.java,v 1.1 2003/11/24 23:33:38 pelle Exp $
$Log: ReceiverServletTest.java,v $
Revision 1.1 2003/11/24 23:33:38 pelle
More Cactus unit testing going on.
*/
/**
* User: pelleb
* Date: Nov 24, 2003
* Time: 5:08:05 PM
*/
public class ReceiverServletTest extends ServletTestCase {
public void beginReceiveBase64(WebRequest theRequest) throws GeneralSecurityException, NeuClearException, XMLException {
JCESigner signer = new TestCaseSigner();
AuthenticationTicketBuilder builder = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://localhost");
AuthenticationTicket ticket = (AuthenticationTicket) builder.sign(signer);
String b64 = XMLSecTools.encodeElementBase64(builder.getElement());
theRequest.addParameter("base64xml", b64, WebRequest.POST_METHOD);
}
public void testReceiveBase64() {
ReceiverServlet servlet = new ReceiverServlet();
servlet.setReceiver(new Receiver() {
/**
* Add your main transaction processing logic within this method.
* Remember you must check the validity of the SignedNamedObject here. Until you do so
* you can not trust it.
*
* @param obj
* @throws org.neuclear.receiver.UnsupportedTransaction
*
*/
public ElementProxy receive(SignedNamedObject obj) throws UnsupportedTransaction, NeuClearException {
return null;
}
});
}
}
|
|
From: <pe...@us...> - 2003-11-24 23:33:41
|
Update of /cvsroot/neuclear/neuclear-id In directory sc8-pr-cvs1:/tmp/cvs-serv16404 Modified Files: project.properties project.xml Log Message: More Cactus unit testing going on. Index: project.properties =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/project.properties,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** project.properties 22 Nov 2003 00:23:48 -0000 1.14 --- project.properties 24 Nov 2003 23:33:38 -0000 1.15 *************** *** 18,22 **** maven.repo.remote = http://neuclear.org/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/ ! maven.test.skip=true maven.uberjar.main = org.neuclear.signers.commandline.CommandLineSigner maven.repo.central = neuclear.org --- 18,22 ---- maven.repo.remote = http://neuclear.org/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/ ! #maven.test.skip=true maven.uberjar.main = org.neuclear.signers.commandline.CommandLineSigner maven.repo.central = neuclear.org Index: project.xml =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/project.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** project.xml 20 Nov 2003 23:42:24 -0000 1.17 --- project.xml 24 Nov 2003 23:33:38 -0000 1.18 *************** *** 71,79 **** <id>neuclear-xmlsig</id> <name>neuclear-xmlsig</name> ! <version>0.10</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency> <dependency> <id>neuclear-commons</id> --- 71,80 ---- <id>neuclear-xmlsig</id> <name>neuclear-xmlsig</name> ! <version>0.11-SNAPSHOT</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency> + <dependency> <id>neuclear-commons</id> *************** *** 83,86 **** --- 84,91 ---- <war.bundle>true</war.bundle> </properties> + </dependency> + <dependency> + <id>cactus</id> + <version>13-1.5-rc1</version> </dependency> |
|
From: <pe...@us...> - 2003-11-24 23:33:41
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv16404/src/java/org/neuclear/receiver
Modified Files:
ReceiverServlet.java
Log Message:
More Cactus unit testing going on.
Index: ReceiverServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/ReceiverServlet.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ReceiverServlet.java 22 Nov 2003 00:23:47 -0000 1.8
--- ReceiverServlet.java 24 Nov 2003 23:33:37 -0000 1.9
***************
*** 2,5 ****
--- 2,8 ----
* $Id$
* $Log$
+ * Revision 1.9 2003/11/24 23:33:37 pelle
+ * More Cactus unit testing going on.
+ *
* Revision 1.8 2003/11/22 00:23:47 pelle
* All unit tests in commons, id and xmlsec now work.
***************
*** 104,108 ****
import java.io.PrintWriter;
! public abstract class ReceiverServlet extends XMLInputStreamServlet {
public void init(final ServletConfig config) throws ServletException {
super.init(config);
--- 107,111 ----
import java.io.PrintWriter;
! public class ReceiverServlet extends XMLInputStreamServlet {
public void init(final ServletConfig config) throws ServletException {
super.init(config);
***************
*** 134,142 ****
}
! protected final void setReceiver(final Receiver receiver) {
this.receiver = receiver;
}
! protected final Receiver getReceiver() {
return receiver;
}
--- 137,145 ----
}
! public final void setReceiver(final Receiver receiver) {
this.receiver = receiver;
}
! final Receiver getReceiver() {
return receiver;
}
|
|
From: <pe...@us...> - 2003-11-24 23:33:18
|
Update of /cvsroot/neuclear/neuclear-xmlsig
In directory sc8-pr-cvs1:/tmp/cvs-serv16358
Modified Files:
project.xml
Log Message:
More Cactus unit testing going on.
Index: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/project.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** project.xml 24 Nov 2003 16:49:25 -0000 1.4
--- project.xml 24 Nov 2003 23:33:15 -0000 1.5
***************
*** 4,8 ****
<name>NeuDist XML Signature API</name>
<id>neuclear-xmlsig</id>
! <currentVersion>0.10</currentVersion>
<inceptionYear>2002</inceptionYear>
<package>org.neuclear</package>
--- 4,8 ----
<name>NeuDist XML Signature API</name>
<id>neuclear-xmlsig</id>
! <currentVersion>0.11-SNAPSHOT</currentVersion>
<inceptionYear>2002</inceptionYear>
<package>org.neuclear</package>
***************
*** 76,82 ****
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.4</version>
<properties>
! <war.bundle.jar>true</war.bundle.jar>
</properties>
</dependency>
--- 76,82 ----
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.5-SNAPSHOT</version>
<properties>
! <war.bundle>true</war.bundle>
</properties>
</dependency>
***************
*** 86,90 ****
<version>1.4</version>
<properties>
! <war.bundle.jar>true</war.bundle.jar>
</properties>
</dependency>
--- 86,90 ----
<version>1.4</version>
<properties>
! <war.bundle>true</war.bundle>
</properties>
</dependency>
***************
*** 95,99 ****
<!-- <jar>bcprov-jdk14-118.jar</jar>-->
<properties>
! <war.bundle.jar>false</war.bundle.jar>
</properties>
</dependency>
--- 95,99 ----
<!-- <jar>bcprov-jdk14-118.jar</jar>-->
<properties>
! <war.bundle>false</war.bundle>
</properties>
</dependency>
***************
*** 102,110 ****
<name>junit</name>
<version>3.8.1</version>
</dependency>
<dependency>
<id>servletapi</id>
<name>servletapi</name>
! <version>2.2</version>
</dependency>
<dependency>
--- 102,113 ----
<name>junit</name>
<version>3.8.1</version>
+ <properties>
+ <war.bundle>true</war.bundle>
+ </properties>
</dependency>
<dependency>
<id>servletapi</id>
<name>servletapi</name>
! <version>2.3</version>
</dependency>
<dependency>
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap
In directory sc8-pr-cvs1:/tmp/cvs-serv16358/src/java/org/neuclear/xml/soap
Modified Files:
MockXMLInputStreamServlet.java SOAPServlet.java SOAPTools.java
Added Files:
EchoSOAPServlet.java
Log Message:
More Cactus unit testing going on.
--- NEW FILE: EchoSOAPServlet.java ---
package org.neuclear.xml.soap;
import org.dom4j.Element;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: EchoSOAPServlet.java,v 1.1 2003/11/24 23:33:15 pelle Exp $
$Log: EchoSOAPServlet.java,v $
Revision 1.1 2003/11/24 23:33:15 pelle
More Cactus unit testing going on.
*/
/**
* User: pelleb
* Date: Nov 24, 2003
* Time: 4:35:18 PM
*/
public class EchoSOAPServlet extends SOAPServlet {
protected Element handleSOAPRequest(Element request, String soapAction) throws SOAPException {
return request;
}
}
Index: MockXMLInputStreamServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap/MockXMLInputStreamServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MockXMLInputStreamServlet.java 24 Nov 2003 16:49:25 -0000 1.1
--- MockXMLInputStreamServlet.java 24 Nov 2003 23:33:15 -0000 1.2
***************
*** 3,9 ****
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
- import java.io.InputStream;
- import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
--- 3,9 ----
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedReader;
+ import java.io.IOException;
+ import java.io.InputStream;
import java.io.InputStreamReader;
***************
*** 28,31 ****
--- 28,34 ----
$Id$
$Log$
+ Revision 1.2 2003/11/24 23:33:15 pelle
+ More Cactus unit testing going on.
+
Revision 1.1 2003/11/24 16:49:25 pelle
Added Cactus testing structure.
***************
*** 34,41 ****
*/
! public class MockXMLInputStreamServlet extends XMLInputStreamServlet{
protected void handleInputStream(final InputStream is, final HttpServletRequest request, final HttpServletResponse response) throws IOException {
! final BufferedReader reader=new BufferedReader(new InputStreamReader(is));
! lastInput=reader.readLine();
}
--- 37,48 ----
*/
! public class MockXMLInputStreamServlet extends XMLInputStreamServlet {
protected void handleInputStream(final InputStream is, final HttpServletRequest request, final HttpServletResponse response) throws IOException {
! if (is == null) {
! lastInput = null;
! return;
! }
! final BufferedReader reader = new BufferedReader(new InputStreamReader(is));
! lastInput = reader.readLine();
}
***************
*** 45,49 ****
}
! private String lastInput=null;
}
--- 52,56 ----
}
! private String lastInput = null;
}
Index: SOAPServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap/SOAPServlet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SOAPServlet.java 21 Nov 2003 04:44:30 -0000 1.2
--- SOAPServlet.java 24 Nov 2003 23:33:15 -0000 1.3
***************
*** 1,4 ****
--- 1,7 ----
/* $Id$
* $Log$
+ * Revision 1.3 2003/11/24 23:33:15 pelle
+ * More Cactus unit testing going on.
+ *
* Revision 1.2 2003/11/21 04:44:30 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 93,104 ****
final SAXReader reader = new SAXReader();
final Document doc = reader.read(is);
! System.out.println("RECEIVED:" + doc.asXML());
! System.out.println("NEUDIST: SOAP Post Request to " + this.getClass().getName());
! final Element bodyElement = doc.getRootElement().element(DocumentHelper.createQName("Body", DocumentHelper.createNamespace("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/")));
//TODO: Check for null
final Element requestElement = (Element) bodyElement.elements().get(0);
if (requestElement == null) {
! System.out.println("NEUDIST: SOAP Request was invalid");
! System.out.println(doc.asXML());
response.sendError(500, "NEUDIST: SOAP Request was invalid");
}
--- 96,107 ----
final SAXReader reader = new SAXReader();
final Document doc = reader.read(is);
! // System.out.println("RECEIVED:" + doc.asXML());
! // System.out.println("NEUDIST: SOAP Post Request to " + this.getClass().getName());
! final Element bodyElement = doc.getRootElement().element(SOAPTools.createEnvelopeQName());
//TODO: Check for null
final Element requestElement = (Element) bodyElement.elements().get(0);
if (requestElement == null) {
! // System.out.println("NEUDIST: SOAP Request was invalid");
! // System.out.println(doc.asXML());
response.sendError(500, "NEUDIST: SOAP Request was invalid");
}
***************
*** 122,129 ****
out.close();
} catch (DocumentException e) {
! System.out.println("NeuDist: Exception in SOAP Request");
e.printStackTrace(System.out);
response.sendError(500, e.getMessage());
}
}
}
--- 125,133 ----
out.close();
} catch (DocumentException e) {
! // System.out.println("NeuDist: Exception in SOAP Request");
e.printStackTrace(System.out);
response.sendError(500, e.getMessage());
}
}
+
}
Index: SOAPTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap/SOAPTools.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SOAPTools.java 21 Nov 2003 04:44:30 -0000 1.3
--- SOAPTools.java 24 Nov 2003 23:33:15 -0000 1.4
***************
*** 1,4 ****
--- 1,7 ----
/* $Id$
* $Log$
+ * Revision 1.4 2003/11/24 23:33:15 pelle
+ * More Cactus unit testing going on.
+ *
* Revision 1.3 2003/11/21 04:44:30 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 105,111 ****
*/
! import org.dom4j.Document;
! import org.dom4j.DocumentException;
! import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.neuclear.commons.NeuClearException;
--- 108,112 ----
*/
! import org.dom4j.*;
import org.dom4j.io.SAXReader;
import org.neuclear.commons.NeuClearException;
***************
*** 201,205 ****
}
! private static final byte SOAP_START[] = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Body>\n".getBytes();
! private static final byte SOAP_END[] = "</SOAP-ENV:Body></SOAP-ENV:Envelope>".getBytes();
}
--- 202,210 ----
}
! static QName createEnvelopeQName() {
! return DocumentHelper.createQName("Body", DocumentHelper.createNamespace("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/"));
! }
!
! static final byte SOAP_START[] = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Body>\n".getBytes();
! static final byte SOAP_END[] = "</SOAP-ENV:Body></SOAP-ENV:Envelope>".getBytes();
}
|
|
From: <pe...@us...> - 2003-11-24 22:07:05
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/id/receiver In directory sc8-pr-cvs1:/tmp/cvs-serv29487/src/test-cactus/org/neuclear/id/receiver Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/id/receiver added to the repository |
|
From: <pe...@us...> - 2003-11-24 22:06:44
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/id In directory sc8-pr-cvs1:/tmp/cvs-serv29356/src/test-cactus/org/neuclear/id Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/id added to the repository |
|
From: <pe...@us...> - 2003-11-24 22:05:43
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/receiver In directory sc8-pr-cvs1:/tmp/cvs-serv29114/src/test-cactus/org/neuclear/receiver Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/receiver added to the repository |
|
From: <pe...@us...> - 2003-11-24 22:05:23
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear In directory sc8-pr-cvs1:/tmp/cvs-serv29038/src/test-cactus/org/neuclear Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear added to the repository |
|
From: <pe...@us...> - 2003-11-24 22:05:02
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org In directory sc8-pr-cvs1:/tmp/cvs-serv28910/src/test-cactus/org Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus/org added to the repository |
|
From: <pe...@us...> - 2003-11-24 22:03:08
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus In directory sc8-pr-cvs1:/tmp/cvs-serv28442/src/test-cactus Log Message: Directory /cvsroot/neuclear/neuclear-id/src/test-cactus added to the repository |
|
From: <pe...@us...> - 2003-11-24 16:49:28
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml/soap
In directory sc8-pr-cvs1:/tmp/cvs-serv28079/src/test-cactus/org/neuclear/xml/soap
Added Files:
XMLInputStreamServletTest.java
Log Message:
Added Cactus testing structure.
--- NEW FILE: XMLInputStreamServletTest.java ---
package org.neuclear.xml.soap;
import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;
import org.neuclear.commons.crypto.Base64;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import java.io.InputStream;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: XMLInputStreamServletTest.java,v 1.1 2003/11/24 16:49:25 pelle Exp $
$Log: XMLInputStreamServletTest.java,v $
Revision 1.1 2003/11/24 16:49:25 pelle
Added Cactus testing structure.
*/
public class XMLInputStreamServletTest extends ServletTestCase{
public static final String TESTSTRING = "test one two three";
public void beginBase64(final WebRequest theRequest){
theRequest.addParameter("base64xml",Base64.encode(TESTSTRING.getBytes()),"POST");
theRequest.setContentType("application/x-www-form-urlencoded");
theRequest.setURL("http://users.neuclear.org", "/test", "/Service",
null, null);
}
public void testBase64() throws IOException, ServletException {
assertEquals(request.getContentType(),"application/x-www-form-urlencoded");
final MockXMLInputStreamServlet servlet=new MockXMLInputStreamServlet();
servlet.init(config);
servlet.service(request,response);
assertEquals(TESTSTRING,servlet.getLastInput());
}
}
|
|
From: <pe...@us...> - 2003-11-24 16:49:28
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/webapp/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv28079/src/webapp/WEB-INF
Added Files:
web.xml
Log Message:
Added Cactus testing structure.
--- NEW FILE: web.xml ---
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<display-name>NeuClear XMLSig WebApp</display-name>
<description>
XMLSig Web App
</description>
<servlet>
<servlet-name>xmlstream</servlet-name>
<servlet-class>org.neuclear.xml.MockXMLInputStreamServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>xmlstream</servlet-name>
<url-pattern>/xmlstream</url-pattern>
</servlet-mapping>
</web-app>
|
|
From: <pe...@us...> - 2003-11-24 16:49:28
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap
In directory sc8-pr-cvs1:/tmp/cvs-serv28079/src/java/org/neuclear/xml/soap
Added Files:
MockXMLInputStreamServlet.java
Log Message:
Added Cactus testing structure.
--- NEW FILE: MockXMLInputStreamServlet.java ---
package org.neuclear.xml.soap;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: MockXMLInputStreamServlet.java,v 1.1 2003/11/24 16:49:25 pelle Exp $
$Log: MockXMLInputStreamServlet.java,v $
Revision 1.1 2003/11/24 16:49:25 pelle
Added Cactus testing structure.
*/
public class MockXMLInputStreamServlet extends XMLInputStreamServlet{
protected void handleInputStream(final InputStream is, final HttpServletRequest request, final HttpServletResponse response) throws IOException {
final BufferedReader reader=new BufferedReader(new InputStreamReader(is));
lastInput=reader.readLine();
}
public String getLastInput() {
return lastInput;
}
private String lastInput=null;
}
|
|
From: <pe...@us...> - 2003-11-24 16:49:28
|
Update of /cvsroot/neuclear/neuclear-xmlsig
In directory sc8-pr-cvs1:/tmp/cvs-serv28079
Modified Files:
project.xml
Log Message:
Added Cactus testing structure.
Index: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/project.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** project.xml 11 Nov 2003 21:38:23 -0000 1.3
--- project.xml 24 Nov 2003 16:49:25 -0000 1.4
***************
*** 108,111 ****
--- 108,115 ----
<version>2.2</version>
</dependency>
+ <dependency>
+ <id>cactus</id>
+ <version>13-1.5-rc1</version>
+ </dependency>
<!--
<dependency>
|
|
From: <pe...@us...> - 2003-11-24 16:48:42
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml/soap In directory sc8-pr-cvs1:/tmp/cvs-serv27993/src/test-cactus/org/neuclear/xml/soap Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml/soap added to the repository |
|
From: <pe...@us...> - 2003-11-24 16:48:37
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml In directory sc8-pr-cvs1:/tmp/cvs-serv27972/src/test-cactus/org/neuclear/xml Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear/xml added to the repository |
|
From: <pe...@us...> - 2003-11-24 16:48:32
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear In directory sc8-pr-cvs1:/tmp/cvs-serv27947/src/test-cactus/org/neuclear Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org/neuclear added to the repository |
|
From: <pe...@us...> - 2003-11-24 16:17:40
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/webapp/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv20849/src/webapp/WEB-INF Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/webapp/WEB-INF added to the repository |
|
From: <pe...@us...> - 2003-11-24 16:17:05
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/webapp In directory sc8-pr-cvs1:/tmp/cvs-serv20706/src/webapp Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/webapp added to the repository |
|
From: <pe...@us...> - 2003-11-24 15:47:41
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org In directory sc8-pr-cvs1:/tmp/cvs-serv14786/src/test-cactus/org Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus/org added to the repository |
|
From: <pe...@us...> - 2003-11-24 15:44:51
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus In directory sc8-pr-cvs1:/tmp/cvs-serv13399/src/test-cactus Log Message: Directory /cvsroot/neuclear/neuclear-xmlsig/src/test-cactus added to the repository |
|
From: <bug...@ve...> - 2003-11-22 00:35:59
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-20 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-20 Summary: Add AuthorizationFilter Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Fri, 21 Nov 2003 7:35 PM Updated: Fri, 21 Nov 2003 7:35 PM Description: We need an authorization servlet filter to require a user to have logged in earlier through the AuthenticationServlet. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |