|
From: <pe...@us...> - 2003-11-21 04:43:45
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/servlets
In directory sc8-pr-cvs1:/tmp/cvs-serv10533/src/java/org/neuclear/commons/servlets
Modified Files:
ServletTools.java
Log Message:
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
Otherwise You will Finaliate.
Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
This should hopefully make everything more stable (and secure).
Index: ServletTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/servlets/ServletTools.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ServletTools.java 11 Nov 2003 21:17:48 -0000 1.1
--- ServletTools.java 21 Nov 2003 04:43:41 -0000 1.2
***************
*** 1,4 ****
--- 1,10 ----
/* $Id$
* $Log$
+ * Revision 1.2 2003/11/21 04:43:41 pelle
+ * EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
+ * Otherwise You will Finaliate.
+ * Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
+ * This should hopefully make everything more stable (and secure).
+ *
* Revision 1.1 2003/11/11 21:17:48 pelle
* Further vital reshuffling.
***************
*** 36,42 ****
* @version $Revision$
**/
! public class ServletTools {
! public static String getAbsoluteURL(HttpServletRequest request, String item) {
return request.getScheme() + "://" + request.getServerName() +
((request.getServerPort() == 80) ? "" : ":" + Integer.toString(request.getServerPort()))
--- 42,48 ----
* @version $Revision$
**/
! public final class ServletTools {
! public static String getAbsoluteURL(final HttpServletRequest request, final String item) {
return request.getScheme() + "://" + request.getServerName() +
((request.getServerPort() == 80) ? "" : ":" + Integer.toString(request.getServerPort()))
***************
*** 44,48 ****
}
! public static void printHeader(PrintWriter out, HttpServletRequest request, String title) {
out.println("<html><head><title>NeuDist Local Signing Service</title>");
//out.println("<LINK rel=\"STYLESHEET\" type=\"text/css\" href=\"style/neuclear.css\">");
--- 50,54 ----
}
! 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\">");
|