juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject svn commit: r1534408 - in /juddi/trunk: docs/db/ddl/ juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/ juddi-gui/src/main/webapp/
Date Mon, 21 Oct 2013 22:54:37 GMT
Author: alexoree
Date: Mon Oct 21 22:54:36 2013
New Revision: 1534408

URL: http://svn.apache.org/r1534408
Log:
JUDDI-662 revising ddl files
JUDDI-579 fixing an incorrect import related to the digital signature refactor

Modified:
    juddi/trunk/docs/db/ddl/db2.ddl
    juddi/trunk/docs/db/ddl/derby.ddl
    juddi/trunk/docs/db/ddl/mysql.ddl
    juddi/trunk/docs/db/ddl/mysql5.ddl
    juddi/trunk/docs/db/ddl/mysql5InnoDB.ddl
    juddi/trunk/docs/db/ddl/oracle9.ddl
    juddi/trunk/docs/db/ddl/postgres.ddl
    juddi/trunk/docs/db/ddl/sqlserver.ddl
    juddi/trunk/docs/db/ddl/sybase.ddl
    juddi/trunk/juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/XmlSignatureApplet.java
    juddi/trunk/juddi-gui/src/main/webapp/signer.jsp

Modified: juddi/trunk/docs/db/ddl/db2.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/db2.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/db2.ddl (original)
+++ juddi/trunk/docs/db/ddl/db2.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id bigint generated by default as identity,
         content_bytes blob(65636),
         content_type varchar(255),
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/docs/db/ddl/derby.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/derby.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/derby.ddl (original)
+++ juddi/trunk/docs/db/ddl/derby.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id bigint not null,
         content_bytes blob(65636),
         content_type varchar(255),
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/docs/db/ddl/mysql.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/mysql.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/mysql.ddl (original)
+++ juddi/trunk/docs/db/ddl/mysql.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id bigint not null auto_increment,
         content_bytes longblob,
         content_type varchar(255),
@@ -813,7 +813,7 @@
         foreign key (reference_key) 
         references j3_reference (id);
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add index FK3242526C7B88B2A4 (signature_transform_key), 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 

Modified: juddi/trunk/docs/db/ddl/mysql5.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/mysql5.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/mysql5.ddl (original)
+++ juddi/trunk/docs/db/ddl/mysql5.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id bigint not null auto_increment,
         content_bytes longblob,
         content_type varchar(255),
@@ -813,7 +813,7 @@
         foreign key (reference_key) 
         references j3_reference (id);
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add index FK3242526C7B88B2A4 (signature_transform_key), 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 

Modified: juddi/trunk/docs/db/ddl/mysql5InnoDB.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/mysql5InnoDB.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/mysql5InnoDB.ddl (original)
+++ juddi/trunk/docs/db/ddl/mysql5InnoDB.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     ) ENGINE=InnoDB;
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id bigint not null auto_increment,
         content_bytes longblob,
         content_type varchar(255),
@@ -813,7 +813,7 @@
         foreign key (reference_key) 
         references j3_reference (id);
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add index FK3242526C7B88B2A4 (signature_transform_key), 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 

Modified: juddi/trunk/docs/db/ddl/oracle9.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/oracle9.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/oracle9.ddl (original)
+++ juddi/trunk/docs/db/ddl/oracle9.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id number(19,0) not null,
         content_bytes blob,
         content_type varchar2(255 char),
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/docs/db/ddl/postgres.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/postgres.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/postgres.ddl (original)
+++ juddi/trunk/docs/db/ddl/postgres.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id int8 not null,
         content_bytes oid,
         content_type varchar(255),
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/docs/db/ddl/sqlserver.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/sqlserver.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/sqlserver.ddl (original)
+++ juddi/trunk/docs/db/ddl/sqlserver.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id numeric(19,0) identity not null,
         content_bytes image null,
         content_type varchar(255) null,
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/docs/db/ddl/sybase.ddl
URL: http://svn.apache.org/viewvc/juddi/trunk/docs/db/ddl/sybase.ddl?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/docs/db/ddl/sybase.ddl (original)
+++ juddi/trunk/docs/db/ddl/sybase.ddl Mon Oct 21 22:54:36 2013
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data_val (
         id numeric(19,0) identity not null,
         content_bytes image null,
         content_type varchar(255) null,
@@ -759,7 +759,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data_val 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: juddi/trunk/juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/XmlSignatureApplet.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/XmlSignatureApplet.java?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/XmlSignatureApplet.java
(original)
+++ juddi/trunk/juddi-gui-dsig/src/main/java/org/apache/juddi/gui/dsig/XmlSignatureApplet.java
Mon Oct 21 22:54:36 2013
@@ -24,10 +24,7 @@ import java.security.Key;
 import java.security.KeyStore;
 import java.security.NoSuchAlgorithmException;
 import java.security.PrivateKey;
-import java.security.Provider;
-import java.security.Security;
 import java.security.cert.Certificate;
-import java.security.cert.CertificateException;
 import java.security.cert.X509Certificate;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -56,9 +53,10 @@ import javax.xml.crypto.dsig.spec.Transf
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
 import javax.xml.parsers.ParserConfigurationException;
-
 import netscape.javascript.JSObject;
 
+//import netscape.javascript.JSObject;
+
 import org.apache.juddi.v3.client.cryptor.DigSigUtil;
 import org.uddi.api_v3.BindingTemplate;
 import org.uddi.api_v3.BusinessEntity;
@@ -154,7 +152,11 @@ public class XmlSignatureApplet extends 
 
     }
 
-    
+    /**
+     * this converts a xml document to a string for writing back to the browser
+     * @param doc
+     * @return 
+     */
     public String getStringFromDoc(org.w3c.dom.Document doc) {
         DOMImplementationLS domImplementation = (DOMImplementationLS) doc.getImplementation();
         LSSerializer lsSerializer = domImplementation.createLSSerializer();
@@ -243,6 +245,9 @@ public class XmlSignatureApplet extends 
         }
     }
     
+    /**
+     * XML digital signature namespace
+     */
     public final static String XML_DIGSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
 
     private void signDOM(Node node, PrivateKey privateKey, Certificate origCert) {

Modified: juddi/trunk/juddi-gui/src/main/webapp/signer.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/signer.jsp?rev=1534408&r1=1534407&r2=1534408&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/signer.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/signer.jsp Mon Oct 21 22:54:36 2013
@@ -30,7 +30,7 @@
             You're about to digitally sign the <b><%=StringEscapeUtils.escapeHtml(itemtype)%></b>
identified by the key <b><%=StringEscapeUtils.escapeHtml(id)%></b>.<br>
             By electronically signing this UDDI entry, other users will then be able to verify
that this entry hasn't been modified.<br>
 
-            <applet code="org.apache.juddi.gui.dsig.XmlSignatureApplet" archive="applets/juddi-gui-dsig-all.jar"></applet>

+            <applet code="org.apache.juddi.gui.dsig.XmlSignatureApplet" archive="applets/juddi-gui-dsig-all.jar"
MAYSCRIPT></applet> 
             <script type="text/javascript">
                 $.get("ajax/toXML.jsp?id=<%=id%>&type=<%=itemtype%>", function(data){
                     $("#data").val(data);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message