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-12-12 23:53:45
|
Update of /cvsroot/neuclear/neuclear-id/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv10434/xdocs
Modified Files:
installation.xml
Log Message:
minor doc changes.
Index: installation.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/xdocs/installation.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** installation.xml 12 Dec 2003 23:45:42 -0000 1.6
--- installation.xml 12 Dec 2003 23:53:41 -0000 1.7
***************
*** 37,41 ****
We provide a sample web application showing how to integrate NeuClear into an existing web application.
Download the
! <a href="http://prdownloads.sourceforge.net/neuclear/neuclear-id-0.8.war?download">NeuClear ID War</a> here.
</p>
<p>
--- 37,41 ----
We provide a sample web application showing how to integrate NeuClear into an existing web application.
Download the
! <a href="http://prdownloads.sourceforge.net/neuclear/neuclear-id.war?download">NeuClear ID War</a> here.
</p>
<p>
|
|
From: <pe...@us...> - 2003-12-12 23:53:23
|
Update of /cvsroot/neuclear/neuclear-xmlsig/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv10384/xdocs
Modified Files:
index.xml
Log Message:
minor doc changes.
Index: index.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/xdocs/index.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** index.xml 12 Dec 2003 21:36:46 -0000 1.3
--- index.xml 12 Dec 2003 23:53:20 -0000 1.4
***************
*** 8,15 ****
<body>
! <section name="[12th of December 2003] Milestone Release 0.11">
<p>
Panama City, 12th of December, 2003. We are happy to announce
! the milestone 0.11 release of NeuClear XMLSIG. Major new features are:
</p>
<ul>
--- 8,15 ----
<body>
! <section name="[12th of December 2003] Release 0.11">
<p>
Panama City, 12th of December, 2003. We are happy to announce
! the 0.11 release of NeuClear XMLSIG. Major new features are:
</p>
<ul>
|
|
From: <pe...@us...> - 2003-12-12 23:45:46
|
Update of /cvsroot/neuclear/neuclear-id/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv8922/xdocs
Modified Files:
building.xml installation.xml navigation.xml
Log Message:
Minor fixes in the web app.
Updated documentation.
Index: building.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/xdocs/building.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** building.xml 11 Nov 2003 02:31:47 -0000 1.2
--- building.xml 12 Dec 2003 23:45:42 -0000 1.3
***************
*** 8,43 ****
<body>
! <section name="Requirements">
<p>
! To build the NeuClear framework you first need to install <a href="http://jakarta.apache.org/turbine/maven/">Maven</a>.
Follow their installation instructions and you should be ok. I haven't tried this under windows yet, but I'm guessing
! it should work fine.
! </p>
! <p>
! Maven fetches almost all the required libraries you need the first time you attempt to build it. There are however
! two required libraries that are not yet part of their central repository. You will need to download these yourself and
! install it into Maven's local repository. For your convenience we've <a href="downloads/reqlibs.tar.gz">packaged them up here</a>.
</p>
<p>
Simply unpack it in mavens home directory retaining the directory structure and you should be allright.
</p>
- <p>
- If you want to get them yourself. Get the latest version of <a href="http://www.opensymphony.org">OSCore</a> and
- <a href="http://www.bouncycastle.org">Bouncy Castle Crypto</a>. For Bouncy Castle Crypto you need a JCE and a provider.
- If you're using JDK1.4 you will allready have a JCE. Otherwise the easiest thing todo is to get their combined JCE/Provider.
- I would also recommend getting the signed jar for your version of the JDK and install it as an extension in
- <tt>$JAVA_HOME/jre/lib/ext</tt>.
- </p>
- <p>
- Remember to edit your <tt>$JAVA_HOME/jre/lib/security/java.security</tt> file as well. Adding the following line:
- </p>
- <source>
- security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
- </source>
- <p>Making sure to change the 6 to whatever the last number is in the sequence of providers</p>
- <p>
- In Addition to play around with it you will need a J2EE compliant servlet engine such as <a href="http://jakarta.apache.org/tomcat/">Jakarta Tomcat</a>
- or <a href="http://jetty.mortbay.org">Jetty</a>. Install this as required.
- </p>
</section>
<section name="Building">
--- 8,23 ----
<body>
! <section name="Requirements for Building">
<p>
! To build the NeuClear framework you first need to install
! <a href="http://maven.apache.org/">Maven</a>.
Follow their installation instructions and you should be ok. I haven't tried this under windows yet, but I'm guessing
! it should work fine. Maven fetches all the required libraries you need the first time you attempt to build it. There are however
! two required libraries that are not yet part of their central repository. Some of the required libraries are not in maven's own repositories,
! we have our own maven repository at http://neuclear.org/maven/ and the project is setup to get all the latest from there.
</p>
<p>
Simply unpack it in mavens home directory retaining the directory structure and you should be allright.
</p>
</section>
<section name="Building">
***************
*** 46,60 ****
very easy to learn. To see the options available go to the type:
</p>
! <source>~/projects/NeuClearframework> maven -g</source>
<p>
Of these the most important one is to simply type:
</p>
! <source>~/projects/NeuClearframework> maven war</source>
<p>
! This should build everything and create a NeuClearframework.war file in <tt>target/</tt>. You can then deploy
! this war file in your J2EE compliant servlet engine. eg. place it in tomcat or jetty's <tt>webapps/</tt> directory
and restart.
</p>
</section>
</body>
</document>
--- 26,43 ----
very easy to learn. To see the options available go to the type:
</p>
! <source>~/projects/neuclear-id> maven -g</source>
<p>
Of these the most important one is to simply type:
</p>
! <source>~/projects/neuclear-id> maven war</source>
<p>
! This should build everything and create a neuclear-id.war file in
! <tt>target/</tt>. You can then deploy
! this war file in your J2EE compliant servlet engine. eg. place it in tomcat or jetty's
! <tt>webapps/</tt> directory
and restart.
</p>
</section>
+
</body>
</document>
Index: installation.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/xdocs/installation.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** installation.xml 10 Dec 2003 23:58:52 -0000 1.5
--- installation.xml 12 Dec 2003 23:45:42 -0000 1.6
***************
*** 14,77 ****
If you are running Mac OS/X Jaguar or Panther you should already be set. Please let us know of any problems.
</p>
<p>
Download the
! <a href="http://neuclear.org/maven/neuclear-id/jars/neuclear-id-app-0.8-SNAPSHOT.jar">NeuClear ID Executable</a>.
Excuse the long and ugly name, we will package it nicer later on. Currently this tool allows you to create a certificate and
sign it. The jar file also contains all the required libraries and should be suitable for unpacking and
adding to your favorite IDE's classpath.
</p>
-
- </section>
- <section name="Requirements for Building">
- <p>
- To build the NeuClear framework you first need to install
- <a href="http://maven.apache.org/">Maven</a>.
- Follow their installation instructions and you should be ok. I haven't tried this under windows yet, but I'm guessing
- it should work fine. Maven fetches all the required libraries you need the first time you attempt to build it. There are however
- two required libraries that are not yet part of their central repository. Some of the required libraries are not in maven's own repositories,
- we have our own maven repository at http://neuclear.org/maven/ and the project is setup to get all the latest from there.
- </p>
<p>
! Simply unpack it in mavens home directory retaining the directory structure and you should be allright.
! </p>
! <p>
! If you want to get them yourself. Get the latest version of
! <a href="http://www.opensymphony.org">OSCore</a> and
! <a href="http://www.bouncycastle.org">Bouncy Castle Crypto</a>. For Bouncy Castle Crypto you need a JCE and a provider.
! If you're using JDK1.4 you will allready have a JCE. Otherwise the easiest thing todo is to get their combined JCE/Provider.
! I would also recommend getting the signed jar for your version of the JDK and install it as an extension in
! <tt>$JAVA_HOME/jre/lib/ext</tt>.
! </p>
! <p>
! Remember to edit your
! <tt>$JAVA_HOME/jre/lib/security/java.security</tt> file as well. Adding the following line:
</p>
! <source>
! security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
! </source>
! <p>Making sure to change the 6 to whatever the last number is in the sequence of providers</p>
<p>
! In Addition to play around with it you will need a J2EE compliant servlet engine such as
! <a href="http://jakarta.apache.org/tomcat/">Jakarta Tomcat</a>
! or
! <a href="http://jetty.mortbay.org">Jetty</a>. Install this as required.
</p>
</section>
! <section name="Building">
<p>
! Unpack the source and binary distributions. Familiarise yourself a bit with maven. It's a bit different than ant, but
! very easy to learn. To see the options available go to the type:
</p>
- <source>~/projects/neuclear-id> maven -g</source>
<p>
! Of these the most important one is to simply type:
</p>
- <source>~/projects/neuclear-id> maven war</source>
<p>
! This should build everything and create a neuclear-id.war file in
! <tt>target/</tt>. You can then deploy
! this war file in your J2EE compliant servlet engine. eg. place it in tomcat or jetty's
! <tt>webapps/</tt> directory
! and restart.
</p>
</section>
--- 14,48 ----
If you are running Mac OS/X Jaguar or Panther you should already be set. Please let us know of any problems.
</p>
+ </section>
+ <section name="NeuClear Executable">
<p>
Download the
! <a href="http://prdownloads.sourceforge.net/neuclear/neuclear-id-app-0.8.jar?download">NeuClear ID Executable</a>.
Excuse the long and ugly name, we will package it nicer later on. Currently this tool allows you to create a certificate and
sign it. The jar file also contains all the required libraries and should be suitable for unpacking and
adding to your favorite IDE's classpath.
</p>
<p>
! The tool is intended to be used from the commandline like this:
</p>
! <source>$ java -jar neuclear-id-app-0.8.jar</source>
<p>
! This will list the options available. For more indepth information on the tool see the <a href="bdg.html">
! Busy Developers Guide
! </a>
</p>
</section>
! <section name="Sample Web Application">
<p>
! We provide a sample web application showing how to integrate NeuClear into an existing web application.
! Download the
! <a href="http://prdownloads.sourceforge.net/neuclear/neuclear-id-0.8.war?download">NeuClear ID War</a> here.
</p>
<p>
! This should be suitable for deployment on any servlet engine or J2EE appserver that supports version 2.3
! of the Servlet API.
</p>
<p>
! In tomcat you can simply drop it into the <tt>$CATALINA_HOME/webapps</tt> folder.
</p>
</section>
Index: navigation.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/xdocs/navigation.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** navigation.xml 8 Dec 2003 22:05:09 -0000 1.5
--- navigation.xml 12 Dec 2003 23:45:42 -0000 1.6
***************
*** 30,33 ****
--- 30,34 ----
-->
<!-- <item name="Live Application" href="http://NeuClear.org:8080/NeuClearframework/"/>-->
+ <item name="Building" href="/building.html"/>
<item name="Installation" href="/installation.html"/>
<item name="Credits and Dependencies" href="/credits.html"/>
|
|
From: <pe...@us...> - 2003-12-12 23:45:46
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/store/test In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/store/test Removed Files: one.ns two.ns Log Message: Minor fixes in the web app. Updated documentation. --- one.ns DELETED --- --- two.ns DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:46
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/images In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/images Modified Files: logo.gif Log Message: Minor fixes in the web app. Updated documentation. Index: logo.gif =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/webapp/images/logo.gif,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsT736rQ and /tmp/cvsQI4iIw differ |
|
From: <pe...@us...> - 2003-12-12 23:45:46
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/signer In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/signer Removed Files: signerstore.ser Log Message: Minor fixes in the web app. Updated documentation. --- signerstore.ser DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:45
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/root/org In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/root/org Removed Files: neudist.ns Log Message: Minor fixes in the web app. Updated documentation. --- neudist.ns DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:45
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/root/com/neubia In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/root/com/neubia Removed Files: pelle.ns Log Message: Minor fixes in the web app. Updated documentation. --- pelle.ns DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:45
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/root/com In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/root/com Removed Files: neubia.ns neuclear.ns Log Message: Minor fixes in the web app. Updated documentation. --- neubia.ns DELETED --- --- neuclear.ns DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:45
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/root In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF/root Removed Files: com.ns net.ns neu.ns org.ns root.ns test.ns Log Message: Minor fixes in the web app. Updated documentation. --- com.ns DELETED --- --- net.ns DELETED --- --- neu.ns DELETED --- --- org.ns DELETED --- --- root.ns DELETED --- --- test.ns DELETED --- |
|
From: <pe...@us...> - 2003-12-12 23:45:45
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp/WEB-INF
Modified Files:
web.xml
Removed Files:
testkeys.ks
Log Message:
Minor fixes in the web app.
Updated documentation.
Index: web.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/webapp/WEB-INF/web.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** web.xml 28 Nov 2003 00:12:59 -0000 1.5
--- web.xml 12 Dec 2003 23:45:41 -0000 1.6
***************
*** 34,38 ****
<init-param>
<param-name>title</param-name>
! <param-value>NeuClear Remote Signer</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
--- 34,47 ----
<init-param>
<param-name>title</param-name>
! <param-value>NeuClear Local Signer</param-value>
! </init-param>
! <load-on-startup>1</load-on-startup>
! </servlet>
! <servlet>
! <servlet-name>demosigner</servlet-name>
! <servlet-class>org.neuclear.signers.servlet.DemoSigningServlet</servlet-class>
! <init-param>
! <param-name>title</param-name>
! <param-value>NeuClear Demo Signer</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
***************
*** 54,57 ****
--- 63,70 ----
<servlet-name>jcesigner</servlet-name>
<url-pattern>/Signer</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>demosigner</servlet-name>
+ <url-pattern>/DemoSigner</url-pattern>
</servlet-mapping>
<servlet-mapping>
--- testkeys.ks DELETED ---
|
|
From: <pe...@us...> - 2003-12-12 23:45:44
|
Update of /cvsroot/neuclear/neuclear-id/src/webapp
In directory sc8-pr-cvs1:/tmp/cvs-serv8922/src/webapp
Modified Files:
index.jsp
Log Message:
Minor fixes in the web app.
Updated documentation.
Index: index.jsp
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/webapp/index.jsp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** index.jsp 18 Nov 2003 00:01:56 -0000 1.11
--- index.jsp 12 Dec 2003 23:45:41 -0000 1.12
***************
*** 22,26 ****
if(!loggedin){
%>
! <form action="/Authorize" method="POST">
<table bgcolor="#FFFFE0"><tr><td valign="top">
<input name="identity" value="<%=(userns!=null)?userns.getName():""%>" type="text" size="30">
--- 22,26 ----
if(!loggedin){
%>
! <form action="Authorize" method="POST">
<table bgcolor="#FFFFE0"><tr><td valign="top">
<input name="identity" value="<%=(userns!=null)?userns.getName():""%>" type="text" size="30">
|
|
From: <pe...@us...> - 2003-12-12 21:37:11
|
Update of /cvsroot/neuclear/neuclear-id/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv17050/xdocs
Modified Files:
index.xml
Log Message:
Last pre release documentation updates.
Index: index.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/xdocs/index.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** index.xml 9 Dec 2003 16:42:02 -0000 1.5
--- index.xml 12 Dec 2003 21:37:08 -0000 1.6
***************
*** 17,20 ****
--- 17,41 ----
</p>
</section>
+ <section name="[12th of December 2003] Milestone Release 0.8">
+ <p>
+ Panama City, 12th of December, 2003. We are happy to announce
+ the milestone 0.8 release of NeuClear ID. Major new features are:
+ </p>
+ <ul>
+ <li>HTTP/DNS based PKI</li>
+ <li>Developers Tools for creating ID's and certifying others</li>
+ <li>Web based Signing Application</li>
+ <li>Easy to integrate User Authentication filter for Web frameworks</li>
+ <li>Added Jakarta Cactus web unit tests</li>
+ <li>Major cleanup work has been done throughout the API. API changes should
+ only be minimal in the future.</li>
+ </ul>
+ <p>
+ The goal of this release has been in particular to make it easier
+ for application developers, to start providing support for NeuClear.
+ <a href="http://sourceforge.net/project/showfiles.php?group_id=90470">Download it today and join in the NeuClear revolution</a>.
+ </p>
+
+ </section>
<section name="Busy Developer Guide">
<p>
***************
*** 25,32 ****
</section>
<section name="Road Map">
- <p>
- The current development version is 0.8-SNAPSHOT. Our aim for 0.8 FINAL is to stabilize and freeze the API.
- Thus the goal is to acheive usability for application developers. This should be reached in mid December 2003.
- </p>
<p>
Our aim for the next version 0.9 is to stabilize and freeze the underlying xml formats and standards as well
--- 46,49 ----
|
|
From: <pe...@us...> - 2003-12-12 21:37:11
|
Update of /cvsroot/neuclear/neuclear-id
In directory sc8-pr-cvs1:/tmp/cvs-serv17050
Modified Files:
project.xml
Log Message:
Last pre release documentation updates.
Index: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/project.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** project.xml 10 Dec 2003 23:58:53 -0000 1.21
--- project.xml 12 Dec 2003 21:37:08 -0000 1.22
***************
*** 91,103 ****
<dependency>
- <id>commons-collections</id>
- <name>commons-collections</name>
- <version>2.1</version>
- <jar>commons-collections-2.1.jar</jar>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
- <dependency>
<id>dom4j</id>
<version>1.4</version>
--- 91,94 ----
***************
*** 154,171 ****
<url>http://java.sun.com/products/javabeans/glasgow/jaf.html</url>
</dependency>
- <!-- <dependency>
- <id>picocontainer</id>
- <version>1.0-beta-1</version>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
- <dependency>
- <id>nanocontainer</id>
- <version>1.0-alpha-PRESPLIT-1</version>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>-->
</dependencies>
<build>
--- 145,148 ----
|
|
From: <pe...@us...> - 2003-12-12 21:36:49
|
Update of /cvsroot/neuclear/neuclear-xmlsig
In directory sc8-pr-cvs1:/tmp/cvs-serv16932
Modified Files:
project.xml
Log Message:
Last pre release documentation updates.
Index: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/project.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** project.xml 10 Dec 2003 23:57:05 -0000 1.7
--- project.xml 12 Dec 2003 21:36:46 -0000 1.8
***************
*** 115,136 ****
<version>13-1.5-rc1</version>
</dependency>
- <!--
- <dependency>
- <id>xmlpull</id>
- <name>xmlpull</name>
- <version>1.1.2.1</version>
- <properties>
- <war.bundle.jar>true</war.bundle.jar>
- </properties>
- </dependency>
- <dependency>
- <id>kxml2</id>
- <name>kxml2</name>
- <version>2.1.8</version>
- <properties>
- <war.bundle.jar>true</war.bundle.jar>
- </properties>
- </dependency>
- -->
</dependencies>
<build>
--- 115,118 ----
|
|
From: <pe...@us...> - 2003-12-12 21:36:49
|
Update of /cvsroot/neuclear/neuclear-xmlsig/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv16932/xdocs
Modified Files:
index.xml
Log Message:
Last pre release documentation updates.
Index: index.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/xdocs/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.xml 12 Nov 2003 13:59:37 -0000 1.2
--- index.xml 12 Dec 2003 21:36:46 -0000 1.3
***************
*** 8,12 ****
<body>
! <section name="New Release 0.8 with Interop">
<p>
[November 11th, 2003] NeuDist XMLSig is now NeuClear XMLSig.
--- 8,26 ----
<body>
! <section name="[12th of December 2003] Milestone Release 0.11">
! <p>
! Panama City, 12th of December, 2003. We are happy to announce
! the milestone 0.11 release of NeuClear XMLSIG. Major new features are:
! </p>
! <ul>
! <li>Improvements to the various Servlets</li>
! <li>Cleaned up the API</li>
! <li>Added Cactus based web unit tests</li>
! </ul>
! <p>
! <a href="http://sourceforge.net/project/showfiles.php?group_id=90470">Download it today and join in the NeuClear revolution</a>.
! </p>
! </section>
! <section name="New Release 0.10">
<p>
[November 11th, 2003] NeuDist XMLSig is now NeuClear XMLSig.
|
|
From: <pe...@us...> - 2003-12-12 21:36:27
|
Update of /cvsroot/neuclear/neuclear-commons/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv16849/xdocs
Modified Files:
index.xml
Log Message:
Last pre release documentation updates.
Index: index.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/xdocs/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.xml 12 Nov 2003 23:47:51 -0000 1.2
--- index.xml 12 Dec 2003 21:36:24 -0000 1.3
***************
*** 15,19 ****
</p>
</section>
! <section name="[11 November, 2003] Released 0.4">
<p>
This release is very quick after 0.3, but we deemed it necessary
--- 15,34 ----
</p>
</section>
! <section name="[12 December, 2003] New release 0.5">
! <p>
! Panama City, 12th of December, 2004. We are happy to announce
! the 0.5 release of NeuClear Commons. Major new features are:
! </p>
! <ul>
! <li>Support for JNDI datasources</li>
! <li>Transaction support via <a href="http://jotm.objectweb.org">JOTM</a></li>
! </ul>
! <p>
! Main goal of this release is to support the latest <a href="http://neuclear.org/id/">0.8 release
! of NeuClear ID</a>.
! <a href="http://sourceforge.net/project/showfiles.php?group_id=90470">Download it today and join in the NeuClear revolution</a>.
! </p>
!
! </section> <section name="[11 November, 2003] Released 0.4">
<p>
This release is very quick after 0.3, but we deemed it necessary
|
|
From: <pe...@us...> - 2003-12-12 21:13:19
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline
In directory sc8-pr-cvs1:/tmp/cvs-serv12743/src/java/org/neuclear/id/tools/commandline
Modified Files:
BuildAllTopLevel.java
Removed Files:
BuildHttpIdentity.java
Log Message:
I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
Index: BuildAllTopLevel.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline/BuildAllTopLevel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BuildAllTopLevel.java 9 Dec 2003 23:41:44 -0000 1.1
--- BuildAllTopLevel.java 12 Dec 2003 21:13:16 -0000 1.2
***************
*** 33,36 ****
--- 33,39 ----
$Id$
$Log$
+ Revision 1.2 2003/12/12 21:13:16 pelle
+ I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
+
Revision 1.1 2003/12/09 23:41:44 pelle
IdentityCreator is now the default class of the uber jar.
***************
*** 74,78 ****
pubsource.getPublicKey(name),
"http://repository.neuclear.org",
! "http://users.neuclear.org:8080/Signer",
"http://logger.neuclear.org",
"mailto:pe...@ne...");
--- 77,81 ----
pubsource.getPublicKey(name),
"http://repository.neuclear.org",
! "http://users.neuclear.org:8080/DemoSigner",
"http://logger.neuclear.org",
"mailto:pe...@ne...");
***************
*** 86,94 ****
final JCESigner testsig = new TestCaseSigner();
final Store store = new FileStore("target/testdata/repository");
! store.receive(createIdentities("neu://", rootsig, rootsig));
! store.receive(createIdentities("neu://test", rootsig, testsig));
! store.receive(createIdentities("neu://pelle@neuclear.org", rootsig, rootsig));
! store.receive(createIdentities("neu://pelle", rootsig, rootsig));
! store.receive(createIdentities("neu://verax", rootsig, rootsig));
store.receive(createIdentities("neu://bob@test", testsig, testsig));
store.receive(createIdentities("neu://alice@test", testsig, testsig));
--- 89,93 ----
final JCESigner testsig = new TestCaseSigner();
final Store store = new FileStore("target/testdata/repository");
! // store.receive(createIdentities("neu://test", rootsig, testsig));
store.receive(createIdentities("neu://bob@test", testsig, testsig));
store.receive(createIdentities("neu://alice@test", testsig, testsig));
--- BuildHttpIdentity.java DELETED ---
|
|
From: <pe...@us...> - 2003-12-12 21:13:19
|
Update of /cvsroot/neuclear/neuclear-id In directory sc8-pr-cvs1:/tmp/cvs-serv12743 Modified Files: project.properties Log Message: I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8 Index: project.properties =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/project.properties,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** project.properties 11 Dec 2003 23:57:30 -0000 1.23 --- project.properties 12 Dec 2003 21:13:17 -0000 1.24 *************** *** 2,5 **** --- 2,6 ---- # P R O J E C T P R O P E R T I E S # ------------------------------------------------------------------- + #maven.test.skip=true maven.compile.debug = on maven.compile.optimize = on *************** *** 18,22 **** maven.repo.remote = http://neuclear.org/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/ - #maven.test.skip=true maven.javaapp.mainclass = org.neuclear.id.tools.commandline.IdentityCreator maven.jar.mainclass = org.neuclear.id.tools.commandline.IdentityCreator --- 19,22 ---- |
|
From: <pe...@us...> - 2003-12-12 21:13:19
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth
In directory sc8-pr-cvs1:/tmp/cvs-serv12743/src/java/org/neuclear/auth
Modified Files:
AuthenticationServlet.java
Log Message:
I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
Index: AuthenticationServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth/AuthenticationServlet.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AuthenticationServlet.java 10 Dec 2003 23:58:51 -0000 1.7
--- AuthenticationServlet.java 12 Dec 2003 21:13:16 -0000 1.8
***************
*** 43,46 ****
--- 43,49 ----
$Id$
$Log$
+ Revision 1.8 2003/12/12 21:13:16 pelle
+ I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
+
Revision 1.7 2003/12/10 23:58:51 pelle
Did some cleaning up in the builders
***************
*** 140,144 ****
out.print(NSResolver.resolveIdentity(userns).getSigner());
out.write("\" method=\"POST\">\n ");
! out.write("<input name=\"base64xml\" value=\"");
out.print(XMLSecTools.encodeElementBase64(sigreq));
out.write("\" type=\"hidden\">\n ");
--- 143,147 ----
out.print(NSResolver.resolveIdentity(userns).getSigner());
out.write("\" method=\"POST\">\n ");
! out.write("<input name=\"neuclear-request\" value=\"");
out.print(XMLSecTools.encodeElementBase64(sigreq));
out.write("\" type=\"hidden\">\n ");
|
|
From: <pe...@us...> - 2003-12-12 21:12:57
|
Update of /cvsroot/neuclear/neuclear-pay
In directory sc8-pr-cvs1:/tmp/cvs-serv12638
Modified Files:
project.xml
Log Message:
I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
Index: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/project.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** project.xml 8 Dec 2003 18:57:18 -0000 1.16
--- project.xml 12 Dec 2003 21:12:54 -0000 1.17
***************
*** 78,82 ****
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.5-SNAPSHOT</version>
<properties>
<war.bundle>true</war.bundle>
--- 78,82 ----
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.5</version>
<properties>
<war.bundle>true</war.bundle>
***************
*** 91,101 ****
</dependency>
<dependency>
- <id>nanocontainer</id>
- <version>1.0-alpha-PRESPLIT-1</version>
- </dependency>
- <dependency>
<id>neuclear-id</id>
<name>neuclear-id</name>
! <version>0.8-SNAPSHOT</version>
<properties>
<war.bundle>true</war.bundle>
--- 91,97 ----
</dependency>
<dependency>
<id>neuclear-id</id>
<name>neuclear-id</name>
! <version>0.8</version>
<properties>
<war.bundle>true</war.bundle>
***************
*** 105,118 ****
<id>neuclear-xmlsig</id>
<name>neuclear-xmlsig</name>
! <version>0.11-SNAPSHOT</version>
! <properties>
! <war.bundle>true</war.bundle>
! </properties>
! </dependency>
! <dependency>
! <id>commons-collections</id>
! <name>commons-collections</name>
! <version>2.1</version>
! <jar>commons-collections-2.1.jar</jar>
<properties>
<war.bundle>true</war.bundle>
--- 101,105 ----
<id>neuclear-xmlsig</id>
<name>neuclear-xmlsig</name>
! <version>0.11</version>
<properties>
<war.bundle>true</war.bundle>
***************
*** 152,167 ****
<war.bundle>true</war.bundle>
</properties>
- </dependency>
- <dependency>
- <id>javamail</id>
- <version>1.3</version>
- <jar>mail.jar</jar>
- <url>http://java.sun.com/products/javamail/</url>
- </dependency>
- <dependency>
- <id>activation</id>
- <version>1.0.2</version>
- <jar>activation.jar</jar>
- <url>http://java.sun.com/products/javabeans/glasgow/jaf.html</url>
</dependency>
<dependency>
--- 139,142 ----
|
|
From: <pe...@us...> - 2003-12-12 21:12:57
|
Update of /cvsroot/neuclear/neuclear-pay/src/webapp/SECURE In directory sc8-pr-cvs1:/tmp/cvs-serv12638/src/webapp/SECURE Modified Files: transfer.jsp Log Message: I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8 Index: transfer.jsp =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/webapp/SECURE/transfer.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** transfer.jsp 28 Nov 2003 00:11:51 -0000 1.3 --- transfer.jsp 12 Dec 2003 21:12:54 -0000 1.4 *************** *** 61,65 **** %> <form action="<%=userns.getSigner()%>" method="POST"> ! <input name="base64xml" value="<%=Base64.encode(sig.getEncoded().getBytes())%>" type="hidden"> <input name="endpoint" value="<%=ServletTools.getAbsoluteURL(request, "/Asset")%>" type="hidden"> </form> --- 61,65 ---- %> <form action="<%=userns.getSigner()%>" method="POST"> ! <input name="neuclear-request" value="<%=Base64.encode(sig.getEncoded().getBytes())%>" type="hidden"> <input name="endpoint" value="<%=ServletTools.getAbsoluteURL(request, "/Asset")%>" type="hidden"> </form> |
|
From: <pe...@us...> - 2003-12-12 21:12:57
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv12638/src/java/org/neuclear/asset/receiver
Modified Files:
AssetControllerReceiver.java
Log Message:
I have now done manual testing of the SigningServlet et al and am happy releasing it to 0.8
Index: AssetControllerReceiver.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/receiver/AssetControllerReceiver.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AssetControllerReceiver.java 28 Nov 2003 00:11:50 -0000 1.7
--- AssetControllerReceiver.java 12 Dec 2003 21:12:54 -0000 1.8
***************
*** 61,64 ****
--- 61,65 ----
try {
+ System.out.println("Processing: "+transfer.getName());
final NamedObjectBuilder sigReceipt = proc.process(transfer);
sigReceipt.sign(transfer.getAsset().getName(), signer);
***************
*** 69,72 ****
--- 70,74 ----
} catch (TransferException e) {
+ System.out.println(e.getLocalizedMessage());
throw new NeuClearException(e);
}
|
|
From: <pe...@us...> - 2003-12-12 19:28:06
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet
In directory sc8-pr-cvs1:/tmp/cvs-serv25600/src/java/org/neuclear/signers/servlet
Modified Files:
DemoSigningServlet.java SigningServlet.java
Log Message:
All the Cactus tests now for signing servlet.
Added working AuthenticationFilterTest
Returned original functionality to DemoSigningServlet.
This is set up to use the test keys stored in neuclear-commons.
SigningServlet should now work for general use. It uses the default
keystore. Will add configurability later. It also uses the GUIDialogAgent.
Index: DemoSigningServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet/DemoSigningServlet.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** DemoSigningServlet.java 11 Dec 2003 23:57:29 -0000 1.12
--- DemoSigningServlet.java 12 Dec 2003 19:28:03 -0000 1.13
***************
*** 2,5 ****
--- 2,13 ----
* $Id$
* $Log$
+ * Revision 1.13 2003/12/12 19:28:03 pelle
+ * All the Cactus tests now for signing servlet.
+ * Added working AuthenticationFilterTest
+ * Returned original functionality to DemoSigningServlet.
+ * This is set up to use the test keys stored in neuclear-commons.
+ * SigningServlet should now work for general use. It uses the default
+ * keystore. Will add configurability later. It also uses the GUIDialogAgent.
+ *
* Revision 1.12 2003/12/11 23:57:29 pelle
* Trying to test the ReceiverServlet with cactus. Still no luck. Need to return a ElementProxy of some sort.
***************
*** 153,218 ****
package org.neuclear.signers.servlet;
! import java.security.KeyPairGenerator;
!
! public final class DemoSigningServlet extends SigningServlet {
! /*
!
! private void buildTree() throws GeneralSecurityException, NeuClearException, IOException {
! System.out.println("NEUDIST: Creating Identity Tree");
! kpg = KeyPairGenerator.getInstance("RSA");
! kpg.initialize(2048, new SecureRandom("Cartagena".getBytes()));
!
! PrivateKey signer = getTestKey();
! createNS("/test/one", "password", signer);
! createNS("/test/two", "password", signer);
! }
!
! private RSAPrivateKey getTestKey() throws GeneralSecurityException, IOException {
! KeyStore ks = KeyStore.getInstance("Uber");
! FileInputStream in = new FileInputStream(context.getRealPath("/WEB-INF/testkeys.ks"));
! ks.load(in, "neuclear".toCharArray());
! return (RSAPrivateKey) ks.getKey("neu://test", "neuclear".toCharArray());
! }
! private void createNS(String name, String newPassword, PrivateKey signer) throws IOException, NeuClearException, GeneralSecurityException {
! name = NSTools.normalizeNameURI(name);
! System.out.println("NEUDIST: Generating key and Identity for: " + name);
! KeyPair kp = kpg.generateKeyPair();
! ((SimpleSigner) getKeyStore()).addKey(name, newPassword.toCharArray(), kp.getPrivate());
! System.out.println("NEUDIST: Creating Identity");
! Identity ns = new Identity(name, kp.getPublic(), "http://neuclear.org:8080/neuclearframework/Store", "http://neuclear.org:8080/neuclearframework/Signer", "http://neuclear.org:8080/neuclearframework/Logger", "");//TODO Fix these values
! // id.addTarget(new TargetReference(id,,"store"));
! System.out.println("NEUDIST: Signing");
! ns.sign(signer);
! try {
! System.out.println("NEUDIST: Storing");
! // id.store();
! // getStore().receive(id);//Test locally first
! ns.sendObject();
! } catch (InvalidNamedObjectException e) {
! System.out.println("NEUDIST: Identity Error: " + e.getLocalizedMessage());
! }
}
! public void init(ServletConfig config) throws ServletException {
! super.init(config);
! try {
! buildTree();
! } catch (GeneralSecurityException e) {
! e.printStackTrace(System.out);
! } catch (IOException e) {
! e.printStackTrace(System.out);
! } catch (NeuClearException e) {
! e.printStackTrace(System.out);
! }
}
! protected static Signer getKeyStore(File keyStoreFile, Object kspassword) throws GeneralSecurityException, IOException, NeuClearException {
! return new SimpleSigner(keyStoreFile);
}
- */
- private KeyPairGenerator kpg;
}
--- 161,203 ----
package org.neuclear.signers.servlet;
! import org.neuclear.commons.NeuClearException;
! import org.neuclear.commons.crypto.passphraseagents.PassPhraseAgent;
! import org.neuclear.commons.crypto.signers.Signer;
! import org.neuclear.commons.crypto.signers.TestCaseSigner;
! import org.neuclear.xml.XMLException;
! import javax.servlet.ServletConfig;
! import javax.servlet.SingleThreadModel;
! import javax.servlet.http.HttpServletRequest;
! import javax.servlet.http.HttpServletResponse;
! import java.io.IOException;
! import java.io.InputStream;
! import java.security.GeneralSecurityException;
! public final class DemoSigningServlet extends SigningServlet implements PassPhraseAgent, SingleThreadModel {
! protected Signer createSigner(ServletConfig config) throws GeneralSecurityException, NeuClearException {
! passphrase = "neuclear";
! return new TestCaseSigner(this);
}
! protected synchronized void handleInputStream(InputStream is, HttpServletRequest request, HttpServletResponse response) throws IOException, NeuClearException, XMLException {
! passphrase = request.getParameter("passphrase");
! super.handleInputStream(is, request, response);
! passphrase = null;
}
! /**
! * Retrieve the PassPhrase for a given name/alias
! *
! * @param name
! * @return
! */
! public final char[] getPassPhrase(final String name) {
! if (passphrase == null)
! return null;
! return passphrase.toCharArray();
}
+ private String passphrase;// Single Thread Model hack
}
Index: SigningServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet/SigningServlet.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** SigningServlet.java 12 Dec 2003 15:12:50 -0000 1.19
--- SigningServlet.java 12 Dec 2003 19:28:03 -0000 1.20
***************
*** 2,5 ****
--- 2,13 ----
* $Id$
* $Log$
+ * Revision 1.20 2003/12/12 19:28:03 pelle
+ * All the Cactus tests now for signing servlet.
+ * Added working AuthenticationFilterTest
+ * Returned original functionality to DemoSigningServlet.
+ * This is set up to use the test keys stored in neuclear-commons.
+ * SigningServlet should now work for general use. It uses the default
+ * keystore. Will add configurability later. It also uses the GUIDialogAgent.
+ *
* Revision 1.19 2003/12/12 15:12:50 pelle
* The ReceiverServletTest now passes.
***************
*** 202,210 ****
import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.Base64;
! import org.neuclear.commons.crypto.passphraseagents.PassPhraseAgent;
import org.neuclear.commons.crypto.signers.InvalidPassphraseException;
import org.neuclear.commons.crypto.signers.NonExistingSignerException;
import org.neuclear.commons.crypto.signers.Signer;
- import org.neuclear.commons.crypto.signers.TestCaseSigner;
import org.neuclear.commons.servlets.ServletTools;
import org.neuclear.id.InvalidNamedObjectException;
--- 210,218 ----
import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.Base64;
! import org.neuclear.commons.crypto.passphraseagents.GuiDialogAgent;
! import org.neuclear.commons.crypto.signers.DefaultSigner;
import org.neuclear.commons.crypto.signers.InvalidPassphraseException;
import org.neuclear.commons.crypto.signers.NonExistingSignerException;
import org.neuclear.commons.crypto.signers.Signer;
import org.neuclear.commons.servlets.ServletTools;
import org.neuclear.id.InvalidNamedObjectException;
***************
*** 214,218 ****
import org.neuclear.id.builders.NamedObjectBuilder;
import org.neuclear.id.verifier.VerifyingReader;
! import org.neuclear.receiver.ReceiverServlet;
import org.neuclear.xml.xmlsec.XMLSecTools;
--- 222,227 ----
import org.neuclear.id.builders.NamedObjectBuilder;
import org.neuclear.id.verifier.VerifyingReader;
! import org.neuclear.xml.XMLException;
! import org.neuclear.xml.soap.XMLInputStreamServlet;
import org.neuclear.xml.xmlsec.XMLSecTools;
***************
*** 221,249 ****
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
- import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.security.GeneralSecurityException;
- import java.util.HashMap;
- import java.util.Map;
! public class SigningServlet extends ReceiverServlet implements PassPhraseAgent {
public final void init(final ServletConfig config) throws ServletException {
- System.out.println("NEUDIST: Initialising SigningServlet");
super.init(config);
context = config.getServletContext();
! reqMap = new HashMap();
try {
- System.out.println("NEUDIST: Initialising SigningServlet");
title = Utility.denullString(config.getInitParameter("title"), "NeuClear Signing Service");
! if (signer == null) {
! signer = new TestCaseSigner(this);
! }
! System.out.println("NEUDIST: Finished SigningServlet Init ");
!
} catch (GeneralSecurityException e) {
e.printStackTrace();
} catch (NeuClearException e) {
e.printStackTrace();
}
--- 230,253 ----
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
+ import java.io.InputStream;
import java.io.PrintWriter;
import java.security.GeneralSecurityException;
!
! public class SigningServlet extends XMLInputStreamServlet {
public final void init(final ServletConfig config) throws ServletException {
super.init(config);
context = config.getServletContext();
! context.log("NEUCLEAR: Initialising SigningServlet");
try {
title = Utility.denullString(config.getInitParameter("title"), "NeuClear Signing Service");
! signer = createSigner(config);
} catch (GeneralSecurityException e) {
e.printStackTrace();
} catch (NeuClearException e) {
e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
}
***************
*** 251,267 ****
}
! protected static final Signer getSigner() {
return signer;
}
! protected final void doPost(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
! System.out.println("NEUDIST: doPost()");
! if (request.getContentType().equals("text/xml")) {
! System.out.println("NEUDIST: call SOAP Servlet");
! super.doPost(request, response);
! return;
}
! reqMap.put(Thread.currentThread(), request);
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
--- 255,275 ----
}
+ protected Signer createSigner(ServletConfig config) throws GeneralSecurityException, NeuClearException, IOException {
+ return new DefaultSigner(new GuiDialogAgent());
+ }
! protected final Signer getSigner() {
return signer;
}
!
! protected void handleInputStream(InputStream is, HttpServletRequest request, HttpServletResponse response) throws IOException, NeuClearException, XMLException {
! SignatureRequest sigreq = (SignatureRequest) VerifyingReader.getInstance().read(is);
! if (sigreq == null) {
! throw new NeuClearException("nothing to sign");
}
! if (!signer.canSignFor(sigreq.getUserid()))
! throw new NonExistingSignerException(sigreq.getUserid());
!
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
***************
*** 269,428 ****
final PrintWriter out = response.getWriter();
ServletTools.printHeader(out, request, title);
- final String b64xml = request.getParameter("base64xml");
final String endpoint = request.getParameter("endpoint");
! final NamedObjectBuilder named;
! SignatureRequest sigreq = null;
boolean isSigned = false;
- try {
- if (!Utility.isEmpty(b64xml)) {
- sigreq = (SignatureRequest) VerifyingReader.getInstance().read(new ByteArrayInputStream(Base64.decode(b64xml)));
- } else {
- out.print("Nothing to Sign..");
- return;
- }
-
- if (sigreq != null) {
! named = sigreq.getUnsigned();
! if (!Utility.isEmpty(request.getParameter("sign"))) {
! final String parent = NSTools.getSignatoryURI(named.getName());
! out.println("Signing with " + parent + "...");
! out.flush();
! try {
! context.log("SIGN: Signing with " + parent);
! final SignedNamedObject signed = named.sign(signer);
! isSigned = true;
! out.println("Signed<br>");
! out.println("<br>Verifying...");
! out.flush();
! out.println(signed.getName() + " Verified<br>");
! } catch (InvalidNamedObjectException e) {
! out.println("<br><font color=\"red\"><b>ERROR: Invalid Identity</b></font><br>");
! //e.printStackTrace(out);
! isSigned = false;
! } catch (InvalidPassphraseException e) {
! out.println("<br><font color=\"red\"><b>ERROR: Wrong Passphrase</b></font><br>");
! isSigned = false;
! } catch (NonExistingSignerException e) {
! out.println("<br><font color=\"red\"><b>ERROR: We Aren't Able to Sign for that Identity</b></font><br>");
! isSigned = false;
! }
! }
! out.println("<table bgcolor=\"#708070\"><tr><td><h4 style=\"color: white\">");
! if (isSigned)
! out.println("Signed Item");
! else
! out.println("Item to Sign:");
! out.println("</h4>");
! out.println("<b>Requesting Site:</b><br/>");
! out.println(sigreq.getSignatory().getName());
! out.println("<br><b>Type:</b><br/>");
! out.println(named.getElement().getName());
! if (!Utility.isEmpty(sigreq.getDescription())) {
! out.println("<br><b>Description:</b><br/>");
! out.println(sigreq.getDescription());
! }
! out.println("</td></tr></table>");
! if (!isSigned) {
! out.println("<table bgcolor=\"#D0FFD0\"><tr><td bgcolor=\"#026A32\"><h4 style=\"color: white\">Do you wish to sign this?</h4></td></tr>");
! out.print("<tr><td><form action=\"");
! out.print(request.getRequestURL());
! out.print("\" method=\"POST\"><input name=\"base64xml\" value=\"");
! out.print(b64xml);
! out.print("\" type=\"hidden\">\n <input name=\"endpoint\" value=\"");
! out.print(endpoint);
! out.println("\" type=\"hidden\"/>\nPassphrase: <input name=\"passphrase\" type=\"password\" size=\"40\">");
! out.println(" <input type=\"submit\" name=\"sign\" value=\"Sign\"></form></td></tr></table>");
! } else if (!Utility.isEmpty(endpoint)) {
! out.print("<tr><td>Signed, returning to site...<form action=\"");
! out.print(endpoint);
! out.print("\" method=\"POST\"><input name=\"neuclear-request\" value=\"");
// context.log("Signing Servlet: ");
! out.print(XMLSecTools.encodeElementBase64(named));
! out.println("\" type=\"hidden\"/>");
// out.write("<input type=\"submit\">");
! out.write("</form>\n");
! out.write("<script language=\"javascript\">\n");
! out.write("<!--\n document.forms[0].submit();\n-->\n");
! out.write("</script>\n");
!
!
! }
! }
! } catch (Exception e) {
! out.println("<br><font color=\"red\"><pre>");
! e.printStackTrace(out);
! out.println("</pre></font>");
! }
! out.println("<p align\"left\"><img src=\"images/neubia40x40.png\"><br><a href=\"http://www.neubia.com\"><i>© 2002 Antilles Software Ventures SA</i></a></body></html>");
! reqMap.remove(Thread.currentThread()); //Super Important
! }
!
! protected final void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
! response.setHeader("Pragma", "no-cache");
! response.setDateHeader("Expires", 0);
!
! response.setContentType("text/html");
! System.out.println("NEUDIST: doGet()");
! final PrintWriter out = response.getWriter();
! ServletTools.printHeader(out, request, title);
! out.println("<form method=\"POST\" action=\"Signer\"><textarea name=\"xml\" cols=\"80\"rows=\"30\"></textarea><br><input type=\"submit\" name=\"submit\" value=\"Confirm\"></form>");
! out.println("</body></html>");
!
! }
!
! /**
! * Retrieve the PassPhrase for a given name/alias
! *
! * @param name
! * @return
! */
! public final char[] getPassPhrase(final String name) {
! if (reqMap == null)
! return null;
! final HttpServletRequest request = (HttpServletRequest) reqMap.get(Thread.currentThread());
! if (request == null)
! return null;
! final String passphrase = request.getParameter("passphrase");
! if (passphrase == null)
! return null;
! return passphrase.toCharArray();
! }
- /*
- public Element receiveNamedObject(SignedNamedObject obj, String soapAction) throws SOAPException {
- try {
- signObject(obj, "hello".toCharArray());// TODO How do we get the passphrase here? Popup request?
- return obj.getElement();
- } catch (InvalidNamedObjectException e) {
- throw new SOAPException(e);
- } catch (InvalidPassphraseException e) {
- throw new SOAPException(e);
- } catch (NonExistingSignerException e) {
- throw new SOAPException(e);
- } catch (NeuClearException e) {
- throw new SOAPException(e);
- }
- }
- protected static void signObject(SignedNamedObject obj, char passphrase[]) throws NeuClearException, InvalidNamedObjectException, InvalidPassphraseException, NonExistingSignerException {
- if (!obj.isSigned()) {
- try {
- String parentName = NSTools.getSignatoryURI(obj.getName());
- PrivateKey pk = signer.getKey(parentName, passphrase);
- if (pk == null)
- throw new NonExistingSignerException("Signing Service doesn't contain Signing keys for: " + parentName);
- obj.sign(pk);
- // obj.store();
- obj.sendObject();
- } catch (IOException e) {
- throw new XMLSecurityException(e);
- // } catch (GeneralSecurityException e) {
- // throw new XMLSecurityException(e);
- }
}
--- 277,353 ----
final PrintWriter out = response.getWriter();
ServletTools.printHeader(out, request, title);
final String endpoint = request.getParameter("endpoint");
! final NamedObjectBuilder named = sigreq.getUnsigned();
boolean isSigned = false;
! if (!Utility.isEmpty(request.getParameter("sign"))) {
! final String parent = NSTools.getSignatoryURI(named.getName());
! out.println("Signing with " + parent + "...");
! out.flush();
! try {
! context.log("SIGN: Signing with " + parent);
! final SignedNamedObject signed = named.sign(signer);
! isSigned = true;
! out.println("Signed<br>");
! out.println("<br>Verifying...");
! out.flush();
! out.println("SIGN: " + signed.getName() + " Verified<br>");
! } catch (InvalidNamedObjectException e) {
! System.out.println("<br><font color=\"red\"><b>ERROR: Invalid Identity</b></font><br>");
! out.println("<br><font color=\"red\"><b>ERROR: Invalid Identity</b></font><br>");
! isSigned = false;
! } catch (InvalidPassphraseException e) {
! System.out.println("<br><font color=\"red\"><b>ERROR: Wrong Passphrase</b></font><br>");
! out.println("<br><font color=\"red\"><b>ERROR: Wrong Passphrase</b></font><br>");
! isSigned = false;
! } catch (NonExistingSignerException e) {
! System.out.println("<br><font color=\"red\"><b>ERROR: We Aren't Able to Sign for that Identity</b></font><br>");
! out.println("<br><font color=\"red\"><b>ERROR: We Aren't Able to Sign for that Identity</b></font><br>");
! isSigned = false;
! }
! }
! out.println("<table bgcolor=\"#708070\"><tr><td><h4 style=\"color: white\">");
! if (isSigned)
! out.println("Signed Item");
! else
! out.println("Item to Sign:");
! out.println("</h4>");
! out.println("<b>Requesting Site:</b><br/>");
! out.println(sigreq.getSignatory().getName());
! out.println("<br><b>Type:</b><br/>");
! out.println(named.getElement().getName());
! if (!Utility.isEmpty(sigreq.getDescription())) {
! out.println("<br><b>Description:</b><br/>");
! out.println(sigreq.getDescription());
! }
! out.println("</td></tr></table>");
! if (!isSigned) {
! out.println("<table><tr><td ><h4>Do you wish to sign this?</h4></td></tr>");
! out.print("<tr><td><form action=\"");
! out.print(request.getRequestURL());
! out.print("\" method=\"POST\"><input name=\"neuclear-request\" value=\"");
! out.print(Base64.encode(sigreq.getEncoded().getBytes()));
! out.print("\" type=\"hidden\">\n <input name=\"endpoint\" value=\"");
! out.print(endpoint);
! out.println("\" type=\"hidden\"/>\nPassphrase: <input name=\"passphrase\" type=\"password\" size=\"40\">");
! out.println(" <input type=\"submit\" name=\"sign\" value=\"Sign\"></form></td></tr></table>");
! } else if (!Utility.isEmpty(endpoint)) {
! out.print("<tr><td>Signed, returning to site...<form action=\"");
! out.print(endpoint);
! out.print("\" method=\"POST\"><input name=\"neuclear-request\" value=\"");
// context.log("Signing Servlet: ");
! out.print(XMLSecTools.encodeElementBase64(named));
! out.println("\" type=\"hidden\"/>");
// out.write("<input type=\"submit\">");
! out.write("</form>\n");
! out.write("<script language=\"javascript\">\n");
! out.write("<!--\n document.forms[0].submit();\n-->\n");
! out.write("</script>\n");
}
***************
*** 430,438 ****
}
- */
protected javax.servlet.ServletContext context;
! private static Signer signer;
! private String id;
private String title;
- private Map reqMap;
}
--- 355,360 ----
}
protected javax.servlet.ServletContext context;
! private Signer signer;
private String title;
}
|
|
From: <pe...@us...> - 2003-12-12 19:28:06
|
Update of /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/signers/servlet
In directory sc8-pr-cvs1:/tmp/cvs-serv25600/src/test-cactus/org/neuclear/signers/servlet
Modified Files:
SigningServletTest.java
Log Message:
All the Cactus tests now for signing servlet.
Added working AuthenticationFilterTest
Returned original functionality to DemoSigningServlet.
This is set up to use the test keys stored in neuclear-commons.
SigningServlet should now work for general use. It uses the default
keystore. Will add configurability later. It also uses the GUIDialogAgent.
Index: SigningServletTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test-cactus/org/neuclear/signers/servlet/SigningServletTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SigningServletTest.java 12 Dec 2003 15:12:50 -0000 1.1
--- SigningServletTest.java 12 Dec 2003 19:28:03 -0000 1.2
***************
*** 1,4 ****
--- 1,5 ----
package org.neuclear.signers.servlet;
+ import com.meterware.httpunit.WebForm;
import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;
***************
*** 6,32 ****
import org.neuclear.commons.NeuClearException;
import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.signers.JCESigner;
import org.neuclear.commons.crypto.signers.TestCaseSigner;
! import org.neuclear.commons.crypto.Base64;
! import org.neuclear.commons.crypto.CryptoException;
import org.neuclear.id.builders.AuthenticationTicketBuilder;
import org.neuclear.id.builders.SignatureRequestBuilder;
- import org.neuclear.id.SignedNamedObject;
import org.neuclear.id.verifier.VerifyingReader;
import org.neuclear.xml.XMLException;
- import org.neuclear.xml.soap.SOAPTools;
- import org.neuclear.xml.xmlsec.XMLSecTools;
- import org.neuclear.receiver.ReceiverServlet;
- import org.neuclear.receiver.MockReceiver;
import org.xml.sax.SAXException;
import javax.servlet.ServletException;
- import java.io.IOException;
import java.io.ByteArrayInputStream;
! import java.io.ByteArrayOutputStream;
import java.security.GeneralSecurityException;
- import java.net.HttpURLConnection;
-
- import com.meterware.httpunit.WebForm;
/*
--- 7,25 ----
import org.neuclear.commons.NeuClearException;
import org.neuclear.commons.Utility;
+ import org.neuclear.commons.crypto.Base64;
import org.neuclear.commons.crypto.signers.JCESigner;
import org.neuclear.commons.crypto.signers.TestCaseSigner;
! import org.neuclear.id.SignatureRequest;
! import org.neuclear.id.SignedNamedObject;
import org.neuclear.id.builders.AuthenticationTicketBuilder;
import org.neuclear.id.builders.SignatureRequestBuilder;
import org.neuclear.id.verifier.VerifyingReader;
import org.neuclear.xml.XMLException;
import org.xml.sax.SAXException;
import javax.servlet.ServletException;
import java.io.ByteArrayInputStream;
! import java.io.IOException;
import java.security.GeneralSecurityException;
/*
***************
*** 50,53 ****
--- 43,54 ----
$Id$
$Log$
+ Revision 1.2 2003/12/12 19:28:03 pelle
+ All the Cactus tests now for signing servlet.
+ Added working AuthenticationFilterTest
+ Returned original functionality to DemoSigningServlet.
+ This is set up to use the test keys stored in neuclear-commons.
+ SigningServlet should now work for general use. It uses the default
+ keystore. Will add configurability later. It also uses the GUIDialogAgent.
+
Revision 1.1 2003/12/12 15:12:50 pelle
The ReceiverServletTest now passes.
***************
*** 83,91 ****
AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://localhost");
! SignatureRequestBuilder sigreq=new SignatureRequestBuilder("neu://test","neu://bob@test",authreq,"test");
! SignedNamedObject signed=sigreq.sign(signer);
theRequest.setContentType("application/x-www-form-urlencoded");
! String b64 =Base64.encode(signed.getEncoded().getBytes());
! theRequest.addParameter("base64xml", b64, "POST");
theRequest.addParameter("endpoint", "http://localhost", "POST");
theRequest.addParameter("passphrase", "neuclear", "POST");
--- 84,92 ----
AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://localhost");
! SignatureRequestBuilder sigreq = new SignatureRequestBuilder("neu://test", "neu://bob@test", authreq, "test");
! SignedNamedObject signed = sigreq.sign(signer);
theRequest.setContentType("application/x-www-form-urlencoded");
! String b64 = Base64.encode(signed.getEncoded().getBytes());
! theRequest.addParameter("neuclear-request", b64, "POST");
theRequest.addParameter("endpoint", "http://localhost", "POST");
theRequest.addParameter("passphrase", "neuclear", "POST");
***************
*** 97,112 ****
public void testSign() throws ServletException, IOException {
assertEquals(request.getContentType(), "application/x-www-form-urlencoded");
! assertEquals(request.getMethod(),"POST");
! ReceiverServlet servlet = new SigningServlet();
servlet.init(config);
servlet.service(request, response);
}
! public void endSign(com.meterware.httpunit.WebResponse theResponse ) throws SAXException, NeuClearException, XMLException {
! WebForm forms[]=theResponse.getForms();
assertNotNull(forms);
! assertEquals(forms.length,1);
assertTrue(forms[0].hasParameterNamed("neuclear-request"));
! String encoded=forms[0].getParameterValue("neuclear-request");
assertTrue(!Utility.isEmpty(encoded));
final SignedNamedObject obj = VerifyingReader.getInstance().read(new ByteArrayInputStream(Base64.decode(encoded)));
--- 98,115 ----
public void testSign() throws ServletException, IOException {
assertEquals(request.getContentType(), "application/x-www-form-urlencoded");
! assertEquals(request.getMethod(), "POST");
! SigningServlet servlet = new DemoSigningServlet();
servlet.init(config);
servlet.service(request, response);
}
!
! public void endSign(com.meterware.httpunit.WebResponse theResponse) throws SAXException, NeuClearException, XMLException {
! assertEquals("NeuClear Signing Service", theResponse.getTitle());
! WebForm forms[] = theResponse.getForms();
assertNotNull(forms);
! assertEquals(1, forms.length);
assertTrue(forms[0].hasParameterNamed("neuclear-request"));
! String encoded = forms[0].getParameterValue("neuclear-request");
assertTrue(!Utility.isEmpty(encoded));
final SignedNamedObject obj = VerifyingReader.getInstance().read(new ByteArrayInputStream(Base64.decode(encoded)));
***************
*** 114,119 ****
assertTrue(obj instanceof AuthenticationTicket);
AuthenticationTicket ticket = (AuthenticationTicket) obj;
! assertEquals(ticket.getSignatory().getName(),"neu://bob@test");
}
JCESigner signer;
}
--- 117,164 ----
assertTrue(obj instanceof AuthenticationTicket);
AuthenticationTicket ticket = (AuthenticationTicket) obj;
! assertEquals(ticket.getSignatory().getName(), "neu://bob@test");
! assertEquals("http://localhost", forms[0].getAction());
}
+
+ public void beginSignatureRequest(WebRequest theRequest) throws GeneralSecurityException, NeuClearException, XMLException {
+
+ AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://localhost");
+ SignatureRequestBuilder sigreq = new SignatureRequestBuilder("neu://test", "neu://bob@test", authreq, "test");
+ SignedNamedObject signed = sigreq.sign(signer);
+ theRequest.setContentType("application/x-www-form-urlencoded");
+ String b64 = Base64.encode(signed.getEncoded().getBytes());
+ theRequest.addParameter("neuclear-request", b64, "POST");
+ theRequest.addParameter("endpoint", "http://localhost", "POST");
+ theRequest.setURL("http://users.neuclear.org", "/test", "/Receiver",
+ null, null);
+ }
+
+ public void testSignatureRequest() throws ServletException, IOException {
+ assertEquals(request.getContentType(), "application/x-www-form-urlencoded");
+ assertEquals(request.getMethod(), "POST");
+ SigningServlet servlet = new DemoSigningServlet();
+ servlet.init(config);
+ servlet.service(request, response);
+
+ }
+
+ public void endSignatureRequest(com.meterware.httpunit.WebResponse theResponse) throws SAXException, NeuClearException, XMLException {
+ assertEquals("NeuClear Signing Service", theResponse.getTitle());
+ WebForm forms[] = theResponse.getForms();
+ assertNotNull(forms);
+ assertEquals(1, forms.length);
+ assertTrue(forms[0].hasParameterNamed("neuclear-request"));
+ String encoded = forms[0].getParameterValue("neuclear-request");
+ assertTrue(!Utility.isEmpty(encoded));
+ final SignedNamedObject obj = VerifyingReader.getInstance().read(new ByteArrayInputStream(Base64.decode(encoded)));
+ assertNotNull(obj);
+ assertTrue(obj instanceof SignatureRequest);
+ SignatureRequest sigreq = (SignatureRequest) obj;
+ assertEquals(sigreq.getSignatory().getName(), "neu://test");
+ assertTrue(forms[0].hasParameterNamed("endpoint"));
+ assertEquals("http://localhost", forms[0].getParameterValue("endpoint"));
+
+ }
+
JCESigner signer;
}
|