Author: bblfish
Date: Fri Feb 25 22:59:00 2011
New Revision: 1074735

URL: http://svn.apache.org/viewvc?rev=1074735&view=rev
Log:
spelling corrections while walking through the code

Modified:
    
incubator/clerezza/trunk/parent/platform.security/src/main/java/org/apache/clerezza/platform/security/auth/AuthenticationMethod.java
    
incubator/clerezza/trunk/parent/platform.usermanager/src/main/java/org/apache/clerezza/platform/usermanager/UserManager.java
    
incubator/clerezza/trunk/parent/platform.users/core/src/main/scala/org/apache/clerezza/platform/users/WebIdGraphsService.scala
    
incubator/clerezza/trunk/parent/ssl.keygen/base/src/main/java/org/apache/clerezza/ssl/keygen/bouncy/BouncyKeygenService.java

Modified: 
incubator/clerezza/trunk/parent/platform.security/src/main/java/org/apache/clerezza/platform/security/auth/AuthenticationMethod.java
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/platform.security/src/main/java/org/apache/clerezza/platform/security/auth/AuthenticationMethod.java?rev=1074735&r1=1074734&r2=1074735&view=diff
==============================================================================
--- 
incubator/clerezza/trunk/parent/platform.security/src/main/java/org/apache/clerezza/platform/security/auth/AuthenticationMethod.java
 (original)
+++ 
incubator/clerezza/trunk/parent/platform.security/src/main/java/org/apache/clerezza/platform/security/auth/AuthenticationMethod.java
 Fri Feb 25 22:59:00 2011
@@ -23,7 +23,7 @@ import org.wymiwyg.wrhapi.Request;
 import org.wymiwyg.wrhapi.Response;
 
 /**
- * Classes implemeneting this interface provide a method to authenticate a 
+ * Classes implementing this interface provide a method to authenticate a
  * a user with the information provided in a http request.
  *
  * @author mir
@@ -35,7 +35,7 @@ public interface AuthenticationMethod {
         * provided in the specified request. If the authentication failed, an
         * <code>LoginException</code> will be thrown. If no authentication
         * informations are available null is returned.
-        * @param request containg the information to authenticate a subject
+        * @param request containing the information to authenticate a subject
         * @return name of authenticated user
         * @throws LoginException This exception is thrown in case
         * the login procedure failed.

Modified: 
incubator/clerezza/trunk/parent/platform.usermanager/src/main/java/org/apache/clerezza/platform/usermanager/UserManager.java
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/platform.usermanager/src/main/java/org/apache/clerezza/platform/usermanager/UserManager.java?rev=1074735&r1=1074734&r2=1074735&view=diff
==============================================================================
--- 
incubator/clerezza/trunk/parent/platform.usermanager/src/main/java/org/apache/clerezza/platform/usermanager/UserManager.java
 (original)
+++ 
incubator/clerezza/trunk/parent/platform.usermanager/src/main/java/org/apache/clerezza/platform/usermanager/UserManager.java
 Fri Feb 25 22:59:00 2011
@@ -185,7 +185,7 @@ public interface UserManager {
         * otherwise a AccessControlException will be thrown.
         *
         * @param name The username of the user
-        * @return GraphNode representing the suer with some context in a 
dedicated MGraph
+        * @return GraphNode representing the user (WebID or blank node) with 
some context in a dedicated MGraph
         */
        public GraphNode getUserGraphNode(String name);
 

Modified: 
incubator/clerezza/trunk/parent/platform.users/core/src/main/scala/org/apache/clerezza/platform/users/WebIdGraphsService.scala
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/platform.users/core/src/main/scala/org/apache/clerezza/platform/users/WebIdGraphsService.scala?rev=1074735&r1=1074734&r2=1074735&view=diff
==============================================================================
--- 
incubator/clerezza/trunk/parent/platform.users/core/src/main/scala/org/apache/clerezza/platform/users/WebIdGraphsService.scala
 (original)
+++ 
incubator/clerezza/trunk/parent/platform.users/core/src/main/scala/org/apache/clerezza/platform/users/WebIdGraphsService.scala
 Fri Feb 25 22:59:00 2011
@@ -39,7 +39,7 @@ import org.apache.clerezza.rdf.utils.Uni
 
 
 /**
- * For agents with a Web-Id various graphs are available, this graphs are 
+ * For agents with a Web-Id various graphs are available, these graphs are
  * grouped by <code>WebIdGraphs</code> which this service provides.
  */
 class WebIdGraphsService() {
@@ -83,10 +83,10 @@ class WebIdGraphsService() {
                                                case SupportedFormat.RDF_XML => 
"1.0";
                                                        //we prefer most 
dedicated formats to (X)HTML, not because those are "better", 
                                                        //but just because it 
is quite likely that the pure RDF format will be 
-                                                       //ligher (contain less 
presentation markup), and it is also possible that HTML does not
+                                                       //lighter (contain less 
presentation markup), and it is also possible that HTML does not
                                                        //contain any RDFa, but 
just points to another format.
                                                case SupportedFormat.XHTML => 
"0.5"; 
-                                                       //we prefer XHTML over 
html, because parsing (shoule) be easier 
+                                                       //we prefer XHTML over 
html, because parsing (should) be easier
                                                case SupportedFormat.HTML => 
"0.4";
                                                        //all other formats 
known currently are structured formats
                                                case _ => "0.8"
@@ -134,11 +134,11 @@ class WebIdGraphsService() {
                /**
                 * for web-ids with a # same as representationGraphUriString
                 */
-               //FIXME multiple remote users could have same
                lazy val localGraphUri = {
                        new UriRef(localGraphUriString)
                }
-               
+
+               //TODO: One should do some reasoning somewhere for URIs that 
have redirects, such a http://xmlns.com/foaf/knows
                lazy val localGraphUriString = {
                        val hashPos = uriString.indexOf('#')
                        if (hashPos != -1) {

Modified: 
incubator/clerezza/trunk/parent/ssl.keygen/base/src/main/java/org/apache/clerezza/ssl/keygen/bouncy/BouncyKeygenService.java
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/ssl.keygen/base/src/main/java/org/apache/clerezza/ssl/keygen/bouncy/BouncyKeygenService.java?rev=1074735&r1=1074734&r2=1074735&view=diff
==============================================================================
--- 
incubator/clerezza/trunk/parent/ssl.keygen/base/src/main/java/org/apache/clerezza/ssl/keygen/bouncy/BouncyKeygenService.java
 (original)
+++ 
incubator/clerezza/trunk/parent/ssl.keygen/base/src/main/java/org/apache/clerezza/ssl/keygen/bouncy/BouncyKeygenService.java
 Fri Feb 25 22:59:00 2011
@@ -267,7 +267,9 @@ public class BouncyKeygenService impleme
 
                        CertTemplate certTemplate = 
certRequest.getCertTemplate();
 
-                       /* (see RFC 2511)
+                       /* (see RFC 2511) --
+                         [ note RFC rfc4211 obsoletes 2511
+                https://datatracker.ietf.org/doc/rfc4211/ ]
 
                                          CertTemplate ::= SEQUENCE {
                                          version      [0] Version              
 OPTIONAL,
@@ -340,7 +342,7 @@ public class BouncyKeygenService impleme
                        } else {
                 log.warn("KeyParam is not an RSA Key but of 
type"+keyParam.getClass()+" need to implement this.");
             }
-//          A lot of poentially useful code developed by Bruno, that shows one 
one
+//          A lot of potentially useful code developed by Bruno, that shows 
one one
 //          could use the extra fields in the CRMF structure.
 //                     But use cases need to be found, and it really is not 
clear that any of this
 //                     cannot be better done by passing the values in a form.


Reply via email to