|
From: <pe...@us...> - 2003-12-12 19:27:41
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/servlets
In directory sc8-pr-cvs1:/tmp/cvs-serv25536/src/java/org/neuclear/commons/servlets
Modified Files:
ServletTools.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: ServletTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/servlets/ServletTools.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ServletTools.java 21 Nov 2003 04:43:41 -0000 1.2
--- ServletTools.java 12 Dec 2003 19:27:38 -0000 1.3
***************
*** 1,4 ****
--- 1,12 ----
/* $Id$
* $Log$
+ * Revision 1.3 2003/12/12 19:27:38 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.2 2003/11/21 04:43:41 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 41,45 ****
* @author pelleb
* @version $Revision$
! **/
public final class ServletTools {
--- 49,53 ----
* @author pelleb
* @version $Revision$
! */
public final class ServletTools {
***************
*** 51,59 ****
public static void printHeader(final PrintWriter out, final HttpServletRequest request, final String title) {
! out.println("<html><head><title>NeuDist Local Signing Service</title>");
//out.println("<LINK rel=\"STYLESHEET\" type=\"text/css\" href=\"style/neuclear.css\">");
out.println("<style type=\"text/css\">");
out.println("body, th, td, input, select, textarea, h2 small {\n font-family: Verdana, Helvetica, Arial, sans-serif;\n }\n code, pre {\n font-family: 'Andale Mono', Courier, monospace;\n font-size: small;\n background-color: lightgrey;\n}");
! out.println("</style></head><body bgcolor=\"#FFFFFF\"><div id=\"banner\"><table bgcolor=\"#026A32\" width=\"100%\"><tr><td><h3 style=\"color: white\">");
out.println(title);
out.println("</h3></td><td align=\"right\"><img src=\"images/logo.gif\"></td></tr></table></div>");
--- 59,69 ----
public static void printHeader(final PrintWriter out, final HttpServletRequest request, final String title) {
! out.print("<html><head><title>");
! out.print(title);
! out.println("</title>");
//out.println("<LINK rel=\"STYLESHEET\" type=\"text/css\" href=\"style/neuclear.css\">");
out.println("<style type=\"text/css\">");
out.println("body, th, td, input, select, textarea, h2 small {\n font-family: Verdana, Helvetica, Arial, sans-serif;\n }\n code, pre {\n font-family: 'Andale Mono', Courier, monospace;\n font-size: small;\n background-color: lightgrey;\n}");
! out.println("</style></head><body bgcolor=\"#FFFFFF\"><div id=\"banner\"><table bgcolor=\"#0000ff\" width=\"100%\"><tr><td><h3 style=\"color: white\">");
out.println(title);
out.println("</h3></td><td align=\"right\"><img src=\"images/logo.gif\"></td></tr></table></div>");
|