From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/soap/service/reputation
Date: Sunday January 14, 19101 @ 22:40
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation
-----------------------------------
Update of /usr/local/cvsroot/sierra/src/java/org/openprivacy/sierra/soap/service/reputation
In directory openprivacy.org:/tmp/cvs-serv13478/src/java/org/openprivacy/sierra/soap/service/reputation
Modified Files:
DeploymentDescriptor.xml ReputationService.java
Log Message:
added principal support
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml?annotate=1.6
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml?rev=1.6&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml.diff?r1=1.6&r2=1.5
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml
diff -u sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml:1.5 sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml:1.6
--- sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml:1.5 Tue Jan 9 04:16:58 2001
+++ sierra/src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml Sun Jan 14 22:40:53 2001
@@ -11,16 +11,26 @@
</isd:provider>
<isd:mappings>
+
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://schemas.openprivacy.org/core/reputation/12/2000/" qname="x:reputation"
javaType="org.openprivacy.sierra.Reputation"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
+
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://schemas.openprivacy.org/core/reputation/12/2000/value/" qname="x:value"
javaType="org.openprivacy.sierra.Value"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
+
+ <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:x="http://schemas.openprivacy.org/core/reputation/12/2000/principal/" qname="x:principal"
+ javaType="org.openprivacy.sierra.util.URIReference"
+ java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
+ xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
+
+
</isd:mappings>
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java?annotate=1.7
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java?rev=1.7&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java.diff?r1=1.7&r2=1.6
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java
diff -u sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java:1.6 sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java:1.7
--- sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java:1.6 Sun Jan 14 04:43:51 2001
+++ sierra/src/java/org/openprivacy/sierra/soap/service/reputation/ReputationService.java Sun Jan 14 22:40:53 2001
@@ -19,6 +19,7 @@
//standard Java support
import java.util.*;
+import java.security.*;
//DOM support
import org.w3c.dom.*;
@@ -37,13 +38,16 @@
@see http://www.openprivacy.org
@author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- @version $Id: ReputationService.java,v 1.6 2001/01/14 12:43:51 burton Exp $
+ @version $Id: ReputationService.java,v 1.7 2001/01/15 06:40:53 burton Exp $
*/
public class ReputationService implements ReputationCalculationEngine {
public static final String REPUTATION_RESULT_NAMESPACE
= "http://schemas.openprivacy.org/core/reputation/12/2000/";
+ //FIXME: Sierra should actually boot up with a keypair an the principal used from this.
+ private Principal principal = new InsecurePrincipal( "urn:SierraService" );
+
/**
* Stores known reputations registered within the system.
*/
@@ -53,7 +57,7 @@
* Given a URI for a reputation return its value.
*
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: ReputationService.java,v 1.6 2001/01/14 12:43:51 burton Exp $
+ * @version $Id: ReputationService.java,v 1.7 2001/01/15 06:40:53 burton Exp $
*/
public Reputation getReputation( String reference ) throws ReputationNotFoundException {
@@ -73,7 +77,7 @@
* Given a URI and data... store a reputation.
*
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: ReputationService.java,v 1.6 2001/01/14 12:43:51 burton Exp $
+ * @version $Id: ReputationService.java,v 1.7 2001/01/15 06:40:53 burton Exp $
*/
public void putReputation( Reputation reputation ) {
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST